diff options
author | Robby Russell <robby@planetargon.com> | 2015-10-03 14:32:12 -0700 |
---|---|---|
committer | Robby Russell <robby@planetargon.com> | 2015-10-03 14:32:12 -0700 |
commit | bd264980a5532cfd15e63300869ae17b61f9f9c5 (patch) | |
tree | 557c83da358306f3a7611c90e2df184c1b044f50 | |
parent | d7e7ef6f94564becf64e32cd1d2ef78d1a892b8a (diff) | |
parent | 1e305e01868a3524b7ce7ec1fdaba7e752f3ce8c (diff) | |
download | zsh-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.zsh | 5 |
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 } |