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.
When the finder is open
After deleting the simulator
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.