简体   繁体   中英

Xcode10 cannot run the iOS12 simulator

在此处输入图片说明

Running the iOS12 Simulator on xcode10 failed. but other versions of the Simulator were normal.

Its happens some time so, You have to do "Erase Reset Content and Settings" of simulator by below step.

 -> Click on simulator 
    -> Go on "Hardware" in menu bar
       -> Select "Erase Reset Content and Settings..."

Give some time after done it. Close Xcode and reopen it.

It may needs to set you command line tool.

Reset your simulator and install command line tool for Xcode 10.

Reset Simulator:

在此处输入图片说明

See Here: Xcode - install Command Line Tools

This symptom usually appears in two cases:

  1. when the system app (eg: SpringBoard) crashes while setting up the debugging session.
  2. because of buggy 3rd party kexts interfering with the normal operation of the system.

If you are seeing any background crashes of the system app around the time of the failure, that's the likely cause. Otherwise, you should check the output of kextstat | grep -v com.apple kextstat | grep -v com.apple , remove any listed 3rd party kexts, reboot, and try again.

在此处输入图片说明 The problem is solved by moving the xcode file location under the application file, then restarting the xcode and running it.

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