美文网首页
react-native run-ios在xcode 13.2中

react-native run-ios在xcode 13.2中

作者: 兜兜转转的小菊 | 来源:发表于2019-11-08 23:23 被阅读0次

更新xcode之后出现问题记录:
1、iphoneX运行不了, 运行react-native run-ios后出现以下错误


error.png
error Could not find "iPhone X" simulator. Run CLI with --verbose flag for more details.

解决方式:xcode更新后没有了iphoneX模拟器,这里需要指定版本运行。


image.png

可以查看模拟器中iphone的版本,指定运行版本。

react-native run-ios --simulator="iPhone 11 Pro"

相关文章

网友评论

      本文标题:react-native run-ios在xcode 13.2中

      本文链接:https://www.haomeiwen.com/subject/uyhgbctx.html