Error installing or running app. Error: No iPhone devices available in Simulator while it is already booted.

Trying to open the project in iOS simulator…
Booting device in iOS simulator…
There was a problem booting a device in iOS Simulator. Quit Simulator, and try again.
Error installing or running app. Error: No iPhone devices available in Simulator.

While there is already a simulator running it says no iPhone device available in Simulator. I’m facing the same issue for the last three days and no possible solution on the Internet seems to work.

Please help me out !

Expo Diagnostics:

Expo CLI 3.23.3 environment info:
    System:
      OS: macOS 10.15.6
      Shell: 5.7.1 - /bin/zsh
    Binaries:
      Node: 12.18.3 - /usr/local/bin/node
      Yarn: 1.17.3 - /usr/local/bin/yarn
      npm: 6.14.6 - /usr/local/bin/npm
    IDEs:
      Android Studio: 4.0 AI-193.6911.18.40.6626763
      Xcode: 11.6/11E708 - /usr/bin/xcodebuild
    npmPackages:
      expo: ~38.0.8 => 38.0.9 
      react: ~16.11.0 => 16.11.0 
      react-dom: ~16.11.0 => 16.11.0 
      react-native: https://github.com/expo/react-native/archive/sdk-38.0.2.tar.gz => 0.62.2 
      react-native-web: ~0.11.7 => 0.11.7 
    npmGlobalPackages:
      expo-cli: 3.23.3

Hey @wevak,

Does it properly open up if you don’t have a Simulator already running? I’m not able to reproduce this error.

Yeah the simulator opens up, but the log goes as:

Trying to open the project in iOS simulator…
Opening iOS simulator
iOS Simulator device failed to boot. Try opening Simulator first, then running your app.
Error installing or running app. Error: Timed out waiting for iOS Simulator device to boot.

And when I try opening Simulator first, then try running the app it logs:

Trying to open the project in iOS simulator…
Booting device in iOS simulator…
There was a problem booting a device in iOS Simulator. Quit Simulator, and try again.
Error installing or running app. Error: No iPhone devices available in Simulator.

xcrun simctl list devices --json

When Simulator is not boot :

{
  "devices" : {
    "com.apple.CoreSimulator.SimRuntime.tvOS-13-4" : [
      {
        "dataPath" : "\/Users\/BBE0017\/Library\/Developer\/CoreSimulator\/Devices\/DFF246BC-7565-4AEA-AAEC-7291E92AC6FE\/data",
        "logPath" : "\/Users\/BBE0017\/Library\/Logs\/CoreSimulator\/DFF246BC-7565-4AEA-AAEC-7291E92AC6FE",
        "udid" : "DFF246BC-7565-4AEA-AAEC-7291E92AC6FE",
        "isAvailable" : true,
        "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-SE--2nd-generation-",
        "state" : "Shutdown",
        "name" : "iPhone SE (2nd generation)"
      }
    ]
  }
}

When Simulator is boot :

{
 "devices" : {
   "com.apple.CoreSimulator.SimRuntime.tvOS-13-4" : [
     {
       "dataPath" : "\/Users\/BBE0017\/Library\/Developer\/CoreSimulator\/Devices\/DFF246BC-7565-4AEA-AAEC-7291E92AC6FE\/data",
       "logPath" : "\/Users\/BBE0017\/Library\/Logs\/CoreSimulator\/DFF246BC-7565-4AEA-AAEC-7291E92AC6FE",
       "udid" : "DFF246BC-7565-4AEA-AAEC-7291E92AC6FE",
       "isAvailable" : true,
       "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-SE--2nd-generation-",
       "state" : "Booted",
       "name" : "iPhone SE (2nd generation)"
     }
   ]
 }
}

Some days ago I was hit by this error log. Is this system software issue or application software issue ?

What could be possible solution ?

Hey @wevak,

Based on that log, it looks like the app may be taking too much time to start up as per this posthttps://stackoverflow.com/questions/55508639/ios-app-crashed-with-termination-reason-namespace-springboard-code-0x8badf00d that points to springboard as the termination reason.

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.