1
0
mirror of https://github.com/robbyrussell/oh-my-zsh.git synced 2026-04-25 15:53:30 +02:00

Merge pull request #4424 from Gutem/patch-1

Update Simulator's Path to XCode 7.x
This commit is contained in:
Robby Russell
2015-10-03 14:32:12 -07:00
+4 -1
View File
@@ -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
}