summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobby Russell <robby@planetargon.com>2015-10-03 14:32:12 -0700
committerRobby Russell <robby@planetargon.com>2015-10-03 14:32:12 -0700
commitbd264980a5532cfd15e63300869ae17b61f9f9c5 (patch)
tree557c83da358306f3a7611c90e2df184c1b044f50
parentd7e7ef6f94564becf64e32cd1d2ef78d1a892b8a (diff)
parent1e305e01868a3524b7ce7ec1fdaba7e752f3ce8c (diff)
downloadzsh-bd264980a5532cfd15e63300869ae17b61f9f9c5.tar.gz
zsh-bd264980a5532cfd15e63300869ae17b61f9f9c5.tar.bz2
zsh-bd264980a5532cfd15e63300869ae17b61f9f9c5.zip
Merge pull request #4424 from Gutem/patch-1
Update Simulator's Path to XCode 7.x
-rw-r--r--plugins/xcode/xcode.plugin.zsh5
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/xcode/xcode.plugin.zsh b/plugins/xcode/xcode.plugin.zsh
index b63a857a7..0a2fa0839 100644
--- a/plugins/xcode/xcode.plugin.zsh
+++ b/plugins/xcode/xcode.plugin.zsh
@@ -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
- else
+ elif [[ -d "${devfolder}/Applications/iOS Simulator.app" ]]; then
open "${devfolder}/Applications/iOS Simulator.app"
+ # Xcode ≥ 7.x
+ else
+ open "${devfolder}/Applications/Simulator.app"
fi
}