mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-11-05 22:21:48 +08:00
Merge pull request #4424 from Gutem/patch-1
Update Simulator's Path to XCode 7.x
This commit is contained in:
commit
bd264980a5
@ -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
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user