Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Oh My Zsh
Commits
1e305e01
Commit
1e305e01
authored
Sep 28, 2015
by
Gutem
Browse files
Update Simulator's Path to XCode 7.x
parent
52e2aaee
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/xcode/xcode.plugin.zsh
View file @
1e305e01
...
...
@@ -179,7 +179,10 @@ function simulator {
if
[[
-d
"
${
devfolder
}
/Platforms/iPhoneSimulator.platform/Developer/Applications/iPhone Simulator.app"
]]
;
then
open
"
${
devfolder
}
/Platforms/iPhoneSimulator.platform/Developer/Applications/iPhone Simulator.app"
# Xcode ≥ 6.x
el
se
el
if
[[
-d
"
${
devfolder
}
/Applications/iOS Simulator.app"
]]
;
then
open
"
${
devfolder
}
/Applications/iOS Simulator.app"
# Xcode ≥ 7.x
else
open
"
${
devfolder
}
/Applications/Simulator.app"
fi
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment