I'm getting the following error:
Error Code: (Domain = DTiPhoneSimulatorErrorDomain, Code = 2)
Any ideas?
I'm getting the following error:
Error Code: (Domain = DTiPhoneSimulatorErrorDomain, Code = 2)
Any ideas?
Try opening the Simulator and from the menu select Reset Content and Settings
then rebuilding your app
Is there anything interesting in ~/Library/Logs/CoreSimulator/CoreSimulator.log?
Do you see an "Unable to boot the iOS Simulator." error message in that log file or in a dialog in iOS Simulator.app? If so, that is almost always because launchd_crashed because DYLD_INSERT_LIBRARIES was set to something not compatible with the iOS Simulator runtime. Do you have any crash logs (eg: launchd_sim crashes) in ~/Library/Logs/DiagnosticReports? If so, check if they show DYLD_INSERT_LIBRARIES being set. If that's the case, your options are to either update to an OS X Yosemite host (which will deal with this issue) or unset DYLD_INSERT_LIBRARIES (likely set in /etc/launchd.conf or ~/.launchd.conf)
Another common cause of this error message is a bug mentioned in the release notes in which the current workaround is to just try again (there is a timing bug during install/launch).