Xcode 7, beta 4 El Capitan won't run simulators

With the latest beta (4) of el capitan and the latest Xcode beta I can't run any simulators. If I restore back to el capitain beta 3 it works fine.


I get the following in the console:


7/21/15 8:22:48.795 PM com.apple.xpc.launchd[1]: (com.apple.CoreSimulator.CoreSimulatorService.171.1.KX9uGUSjBNVf) Service only ran for 0 seconds. Pushing respawn out by 10 seconds.

7/21/15 8:22:48.795 PM Simulator[2815]: Error Domain=NSPOSIXErrorDomain Code=53 "Software caused connection abort" UserInfo={NSLocalizedDescription=Error returned in reply to notification request: Connection interrupted}

7/21/15 8:22:48.795 PM ibtoold[2763]: CoreSimulatorService connection interrupted. Resubscribing to notifications.

7/21/15 8:22:48.795 PM ibtoold[2764]: CoreSimulatorService connection interrupted. Resubscribing to notifications.

7/21/15 8:22:48.795 PM Simulator[2815]: Failed to allocate SimDeviceSet

7/21/15 8:22:48.795 PM Simulator[2815]: CoreSimulatorService connection interrupted. Resubscribing to notifications.

7/21/15 8:22:48.804 PM com.apple.xpc.launchd[1]: (com.apple.ReportCrash[2929]) Endpoint has been activated through legacy launch(3) APIs. Please switch to XPC or bootstrap_check_in(): com.apple.ReportCrash

7/21/15 8:22:49.430 PM ReportCrash[2929]: Saved crash report for com.apple.CoreSimulator.CoreSimulatorService[2928] version 171 (171) to /Users/barrettjacobsen/Library/Logs/DiagnosticReports/com.apple.CoreSimulator.CoreSimulatorService_2015-07-21-202249_Barretts-MacBook-Pro.crash

7/21/15 8:22:49.432 PM ReportCrash[2929]: Removing excessive log: file:///Users/barrettjacobsen/Library/Logs/DiagnosticReports/com.apple.CoreSimulator.CoreSimulatorService_2015-07-21-175403_Barretts-MacBook-Pro.crash

7/21/15 8:22:49.752 PM DataDetectorsDynamicData[2931]: ### Failed to load Addressbook class CNContactNameFormatter

7/21/15 8:22:52.676 PM Console[2935]: Failed to connect (_consoleX) outlet from (NSApplication) to (ConsoleX): missing setter or instance variable

7/21/15 8:22:53.330 PM Console[2935]: SwitchResX Daemon(685) System Policy: deny scripting-addition-send 'SWRS'/'SWSP'

7/21/15 8:22:54.475 PM Console[2935]: Default Folder X Agent(785) System Policy: deny scripting-addition-send 'dfdX'/'Load'

7/21/15 8:22:56.712 PM com.apple.CDScheduler[260]: Thermal pressure state: 1 Memory pressure state: 0

7/21/15 8:22:56.712 PM com.apple.CDScheduler[45]: Thermal pressure state: 1 Memory pressure state: 0

7/21/15 8:22:58.813 PM com.apple.CoreSimulator.CoreSimulatorService[2943]: com.apple.CoreSimulator.CoreSimulatorService 171~1 starting.

7/21/15 8:22:58.000 PM kernel[0]: AMFI: com.apple.CoreSi(pid 2943) - [deny-mmap] mapped executable file has no team identifier in its signature: /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 7.1.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/host/liblaunch_sim.dylib

7/21/15 8:22:58.820 PM diagnosticd[117]: error evaluating process info - pid: 2943, puniqueid: 2943

7/21/15 8:22:58.821 PM com.apple.xpc.launchd[1]: (com.apple.CoreSimulator.CoreSimulatorService.171.1.KX9uGUSjBNVf[2943]) Service exited due to signal: Segmentation fault: 11

7/21/15 8:22:58.821 PM Simulator[2815]: CoreSimulatorService connection interrupted. Resubscribing to notifications.

7/21/15 8:22:58.821 PM Xcode[2801]: CoreSimulatorService connection interrupted. Resubscribing to notifications.

7/21/15 8:22:58.821 PM com.apple.xpc.launchd[1]: (com.apple.CoreSimulator.CoreSimulatorService.171.1.KX9uGUSjBNVf) Service only ran for 0 seconds. Pushing respawn out by 10 seconds.

7/21/15 8:22:58.821 PM ibtoold[2763]: CoreSimulatorService connection interrupted. Resubscribing to notifications.

7/21/15 8:22:58.821 PM ibtoold[2764]: CoreSimulatorService connection interrupted. Resubscribing to notifications.

Replies

It looks like deleting the contents of ~/Developer/CoreSimulator and /Developer/CoreSimulator fixed my issue

Having the same problem here.

I'm posting an edited version of seancook's solution here because many people in a similar thread found it works:


I noticed a message in Console.app along the lines of the Simulator runtime not being code signed. I went to the path it described "/Library/Developer/CoreSimulator/Profiles/Runtimes" and removed the runtimes that I had there. They were old runtimes, so I assume that some check in Xcode now applies that didn't previously.


I then went into the Simulator's Hardware > Devices > Manage Devices menu and added a new iOS9 device. It didn't seem to do anything, so I quit out of Xcode and Simulator.app. I then re-started Simulator.app (via Xcode > ODT > Simulator) and lo and behold the expected iOS9 simulators were displayed.


I closed and re-opened Xcode, changed the target OS for my project, and the Sims were finally displayed as run targets.

Thanx a million. This helped.

Thank you, thank you, thank you! Just what I needed.