react-native run-ios Could not find iPhone X simulator | XRPackageModel 9.0.omo

前端 未结 2 1553
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-27 08:44

I first started my project with Expo and ejected it. Now, I\'m trying to run the command react-native run-ios and it comes back with this error:

CoreData:

相关标签:
2条回答
  • 2021-01-27 09:11

    use this.

    react-native run-ios --simulator="iPhone 8"
    
    0 讨论(0)
  • 2021-01-27 09:11

    This issue:

    https://github.com/react-native-community/cli/pull/414

    was fixed on @react-native-community/cli v1.9.8:

    https://github.com/react-native-community/cli/releases/tag/v1.9.8

    A bump in your yarn.lock to some version over 1.9.8 should fix it.

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