Skip to content

Instantly share code, notes, and snippets.

@nandorojo
Created November 5, 2024 16:23
Show Gist options
  • Save nandorojo/0b5e3a9757d2ca7982f7e844b338309f to your computer and use it in GitHub Desktop.
Save nandorojo/0b5e3a9757d2ca7982f7e844b338309f to your computer and use it in GitHub Desktop.
Fix that xcrun simctl boot error from React Native iOS simulator

You just got this error after running npx expo run:ios or building React Native locally:

Error: xcrun simctl boot 62F02616-B3DF-4F78-9770-74AD88CB7DC2 exited with non-zero code: 60
An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=60):
Unable to boot the Simulator.
launchd failed to respond.
Underlying error (domain=com.apple.SimLaunchHostService.RequestError, code=4):
        Failed to start launchd_sim: could not bind to session, launchd_sim may have crashed or quit responding

The fix is simple, but it has nothing to do with the error message.

You need to configure your signing inside of XCode to fix it

  1. Find the native iOS folder, likely the ios folder.
  2. Open it in your Mac Finder
  3. Double click the file ending in .xcworkspace to open it in XCode
  4. In the left pane, click the name of the app.
  5. In the tabs that show in the middle of the screen, press Signing & Capabilities
  6. Select a Team from the select dropdown menu.
  7. Close XCode (hopefully forever), go back to your terminal, run the script again, and watch it work.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment