Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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

This comment has been minimized.

Copy link

@lolgear 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