Skip to content

Instantly share code, notes, and snippets.

@leecade
Last active October 1, 2023 12:07
Show Gist options
  • Star 16 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save leecade/83b4e710d7c741152527 to your computer and use it in GitHub Desktop.
Save leecade/83b4e710d7c741152527 to your computer and use it in GitHub Desktop.
10.11_troubleshooting

brew working with Xcode-beta 7

$ xcode-select --install
$ sudo xcode-select -s /Applications/Xcode-beta.app/Contents/Developer
$ xcode-select -p

ref: https://github.com/Homebrew/homebrew/labels/10.11

Xcode 7 error

simulator runtime is not available.
Unable to open liblaunch_sim.dylib Try reinstalling Xcode or the simulator runtime.

solve solution

$ sudo mv "/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 8.1.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/host/liblaunch_sim.dylib"{,.bak}

$ sudo mv "/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 7.1.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/host/liblaunch_sim.dylib"{,.bak}

$ sudo ln -sf "/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib/system/host/liblaunch_sim.dylib" "/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 8.1.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/host/liblaunch_sim.dylib"

$ sudo ln -sf "/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib/system/host/liblaunch_sim.dylib" "/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 7.1.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/host/liblaunch_sim.dylib"
@lolgear
Copy link

lolgear commented Feb 20, 2016

@leecade
Hello! I have /Library/Developer/CoreSimulator/Profiles/Runtime/iOS 7.1simruntime

Could I safely remove it ( if I don't need iOS 7.1 support )?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment