Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save VesperDev/790fcda768bfb866eb2c5cc3c77efe27 to your computer and use it in GitHub Desktop.
Save VesperDev/790fcda768bfb866eb2c5cc3c77efe27 to your computer and use it in GitHub Desktop.
In case anybody else stumbles here, my solution was different.
What fixed it for me was manually updating our node_modules/react-native/local-cli/runIOS/findMatchingSimulator.js from
if (!version.startsWith('iOS') && !version.startsWith('tvOS'))
to
if (!version.startsWith('com.apple.CoreSimulator.SimRuntime.iOS') && !version.startsWith('com.apple.CoreSimulator.SimRuntime.tvOS'))
If you console.log(version), each is now prefixed with com.apple.CoreSimulator.SimRuntime.
ref: https://github.com/facebook/react-native/issues/21498
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment