Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

xcode 9 simulator error unable to boot the simulator launchd failed to respond mac os sierra

xcode 9 simulator error unable to boot the simulator launchd failed to respond mac os sierra

I ave tried deleting contents from derived data, restarting Xcode , Uninstall and install of xcode etc.

like image 405
user1576424 Avatar asked Sep 29 '17 10:09

user1576424


People also ask

How to restart the simulator Xcode 8?

Unable to boot the Simulator XCode 8. 1 Click the  menu. 2 Select Restart... 3 Hold down command-R to boot into the Recovery System. 4 Click the Utilities menu and select Terminal. 5 Type csrutil disable and press return. 6 Close the Terminal app. 7 Click the  menu and select Restart....

How to fix 'unable to boot iOS simulator with blank screen' issue?

With release of Xcode 6 & later while developing & running your iOS app in iOS Simulator on your Mac you face with this bug something like this ‘Unable to boot iOS Simulator’ with blank screen. Select iOS Simulator then go to top Menubar > iOS Simulator > Reset Content and Settings > Reset (On command prompt press reset)

Why can't I run iOS Sims on Xcode?

The issue here could be that your iOS sims are being launched by some Javascript framework that is incompatible with Xcode 13.3. I'm using all emulators for cross platform development! Sorry if that wasn't obvious - edited the original post to make it clearer. My quick solution was to install version 13.2 again..

How do I change the OS version in Xcode?

Just open xcode -> windows -> devices and simulators, click on the Simulators tab , click New, click on the OS Version dropdown and choose "Download more simulator runtimes", download 15.2 and create a new simulator with 15.2 as OS Version. There seems to have been a problem with the simulator runtime for 15.4 in this xcode version


2 Answers

In this case, launchd is crashing when trying to launch.

This could be as a result of deleting the /private/tmp folder.

To resolve this, I typed the following commands on my terminal:

sudo mkdir /private/tmp 
sudo chmod 1777 /private/tmp
like image 106
antkhaji Avatar answered Sep 17 '22 11:09

antkhaji


I observed these issues sometimes when my mac is not connected to the internet. So here is a solutions list one of them may solve your problem.

  1. Check if you have an internet connection running in your mac.
  2. Restart the simulator.
  3. Restart mac if required.

Hope this will help you. Thanks

like image 33
Shoaib Bagwan Avatar answered Sep 17 '22 11:09

Shoaib Bagwan