easeccy
easeccy

Reputation: 5086

Unable to boot the simulator, launchd failed to respond Xcode

I downloaded Xcode 10.1 from AppStore but it had some errors at startup and couldn't show up. So I downgraded Xcode to version 10.0 (10A255) from Apple official downloads. IDE works fine but now I can't start simulator. I've tried every possible solution on the internet for hours. Here is the logs:

CoreSimulatorService[393] : com.apple.CoreSimulator.CoreSimulatorService 581.2 starting.

com.apple.ibtool[479] : Spawning processes in an unbooted state without setting kSimDeviceSpawnStandalone is deprecated.

com.apple.ibtool[478] : Spawning processes in an unbooted state without setting kSimDeviceSpawnStandalone is deprecated.

CoreSimulatorService[393] : Could not register service com.apple.PowerManagement.control: launch_sim_register_endpoint: 0xfffffecc

CoreSimulatorService[393] : Could not register service com.apple.SystemConfiguration.configd_host: launch_sim_register_endpoint: 0xfffffecc

CoreSimulatorService[393] : Could not register service com.apple.audio.coreaudiod: launch_sim_register_endpoint: 0xfffffecc

CoreSimulatorService[393] : Could not register service com.apple.SystemConfiguration.PPPController: launch_sim_register_endpoint: 0xfffffecc

CoreSimulatorService[393] : Could not register service com.apple.audio.audiohald: launch_sim_register_endpoint: 0x44e

CoreSimulatorService[393] : Could not register service com.apple.coreservices.lsuseractivity.simulatorsupport: launch_sim_register_endpoint: 0x44e

CoreSimulatorService[393] : Could not register service com.apple.SystemConfiguration.configd: launch_sim_register_endpoint: 0x44e

CoreSimulatorService[393] : Could not register service com.apple.FSEvents: launch_sim_register_endpoint: 0x44e

CoreSimulatorService[393] : Could not register service PurpleFBTVOutServer: launch_sim_register_endpoint: 0x44e

CoreSimulatorService[393] : Could not register service IndigoHIDRegistrationPort: launch_sim_register_endpoint: 0x44e

CoreSimulatorService[393] : Could not register service PurpleFBServer: launch_sim_register_endpoint: 0x44e

CoreSimulatorService[393] : Could not register service com.apple.CoreSimulator.host.bootstrap_port: launch_sim_register_endpoint: 0x44e

CoreSimulatorService[393] : Error Domain=NSPOSIXErrorDomain Code=60 "Operation timed out" UserInfo={NSLocalizedDescription=Unable to boot the Simulator., NSLocalizedFailureReason=launchd failed to respond.}

CoreSimulatorService[393] : Error Domain=NSPOSIXErrorDomain Code=60 "Operation timed out" UserInfo={NSLocalizedDescription=Unable to boot the Simulator., NSLocalizedFailureReason=launchd failed to respond.} CoreSimulatorService[393] : Error Domain=NSPOSIXErrorDomain Code=60 "Operation timed out" UserInfo={NSLocalizedDescription=Unable to boot the Simulator., NSLocalizedFailureReason=launchd failed to respond.}

What can I do?

Upvotes: 58

Views: 34606

Answers (11)

Eugene Babich
Eugene Babich

Reputation: 1689

For my Xcode 15.3 and Sonoma 14.4 helped the removing of simulator's Caches folder at ~/Library/Developer/CoreSimulator

  1. Open Finder.
  2. Execute ⌘ Cmd + ↑ Shift + G (go to folder).
  3. Execute ⌘ Cmd + V (pastes copied text) of copied ~/Library/Developer/CoreSimulator path.
  4. Remove Caches folder.

P.S. If not helped than try to remove DerivedData of your project at ~/Library/Developer/Xcode/DerivedData

Upvotes: 32

DungGramer
DungGramer

Reputation: 2324

Goto System Setting => General => Storage => 'Storage Settings' => Developer (i) icon. Delete Xcode Caches. Then try again! enter image description here

Upvotes: 200

MahadevWaghmare73
MahadevWaghmare73

Reputation: 1

Xcode > File > Workspace Settings > click on Derived Data > clear Derived Data and clear the CoreSimulator caches. That works for me.

Upvotes: 0

Yash Sharma
Yash Sharma

Reputation: 21

For me this happened and was gone after I restarted the mac but after sometime it came back again, some people are telling to restart but for me it came back again so i don't think so that is a permanent solution. So currently what solved it immediately was what's mentioned in the first answer i.e deleting the Xcode Cache by:

clicking on apple logo -> System Settings -> Search Storage Settings -> click on more info "i" icon of Developer button -> Select xcode cache and delete -> restart xcode and then run. Thank you!

ps: I am using Apple M1 Pro with Sonoma 14.0 macOS and Xcode 15.0.1

Upvotes: 1

NFG
NFG

Reputation: 747

In Xcode 14.2 cleaning the build folder resolved this issue for me.

 Product -> Clean Build Folder

Upvotes: 11

Sam
Sam

Reputation: 41

  1. Right-click on the simulator icon
  2. Click on "Options".
  3. Click on "Show in Finder"

When the finder is open

  1. Right-click on the icon again
  2. Then click "Move to bin"

After deleting the simulator

  1. Go to your computer bin and restore it

It must work.

You're welcome

Upvotes: 3

Cyril Cermak
Cyril Cermak

Reputation: 329

Hmm, sad to say but restarting my Mac actually fixed the issue.

Upvotes: 0

Ninjaval
Ninjaval

Reputation: 263

In my case clearing derived data helped. You can do it like this:

Open Xcode -> Preferences -> Locations -> Derived Data (Click the little arrow) -> Delete the folder.

Upvotes: 18

CrsCaballero
CrsCaballero

Reputation: 2348

I solved it by installing the last update to the SO

Upvotes: 0

Arinzehills
Arinzehills

Reputation: 2329

In my case i have to drag the simulator to the trash bin the i relaunch again and it open

Upvotes: 3

lewis
lewis

Reputation: 3182

In my case

Unable to boot the Simulator.
Domain: NSPOSIXErrorDomain
Code: 60
Failure Reason: launchd failed to respond.

Was fixed by restarting my wifi router which was playing up.

Upvotes: 13

Related Questions