diff options
author | Gutem <gutemhc@gmail.com> | 2015-09-28 16:04:25 -0300 |
---|---|---|
committer | Gutem <gutemhc@gmail.com> | 2015-09-28 16:04:25 -0300 |
commit | 1e305e01868a3524b7ce7ec1fdaba7e752f3ce8c (patch) | |
tree | 575a8c180225433380fefb7037cb9802b7ae5b70 /plugins/xcode/xcode.plugin.zsh | |
parent | 52e2aaee068814aadc989ac904bb055349240869 (diff) | |
download | zsh-1e305e01868a3524b7ce7ec1fdaba7e752f3ce8c.tar.gz zsh-1e305e01868a3524b7ce7ec1fdaba7e752f3ce8c.tar.bz2 zsh-1e305e01868a3524b7ce7ec1fdaba7e752f3ce8c.zip |
Update Simulator's Path to XCode 7.x
Diffstat (limited to 'plugins/xcode/xcode.plugin.zsh')
-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 } |