iOS simulator is not launching

前端 未结 8 590
野的像风
野的像风 2020-12-10 00:54

I am facing this problem again and again. Anybody can give the solution to this problem except reboot the Mac?

I have already tried these tricks

相关标签:
8条回答
  • 2020-12-10 01:20

    None of the above solutions helped me.

    I also tried

    sudo killall -10 com.apple.CoreSimulator.CoreSimulatorService
    

    And even after clean Xcode reinstallation my simulators continue closing after launching.

    So i removed all simulators from Window - Device & Organizers

    And then added new one's

    And the problem has gone

    0 讨论(0)
  • 2020-12-10 01:21

    In Xcode select Product > Scheme > Edit Scheme > Run > Options tab.

    Confirm Launch due to a background fetch event is not selected.

    See the image below ...

    0 讨论(0)
  • 2020-12-10 01:24

    I also have this issue and googled this, which redirect to this question. Mine was xcode10 What i have done is as follows

    1. Quit the simulator & Xcode.
    2. Opened Activity monitor, selected cpu option and search for sim, killing all the process shown as result.
    3. Then fired up the terminal and run sudo xcrun simctl erase all. It will delete all content of all simulators. By content if you logged in somewhere password will be gone, all developer apps installed in that simulator will be gone.

    Doing these resolved my issue. Hope it helps.

    0 讨论(0)
  • 2020-12-10 01:24

    The following solved my issue

    1. Open edit scheme

    1. Check that lunch is automatically

    0 讨论(0)
  • 2020-12-10 01:25

    Long shot but in my case I just moved my Xcode to Applications and restarted Xcode.

    0 讨论(0)
  • 2020-12-10 01:29

    In my case tmp directory was not there for some reason, creating it giving adequate permissions saved my day.

    sudo mkdir /private/tmp
    sudo chmod 1777 /private/tmp
    

    https://stackoverflow.com/a/48075384/6919038

    0 讨论(0)
提交回复
热议问题