简体   繁体   中英

Unable to boot the simulator, launchd failed to respond Xcode 10.0

I'm new to iOS development.

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 inte.net 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?

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.

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

I solved it by installing the last update to the SO

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.

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

  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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM