1.查看所有可用设备/模拟器列表
终端中输入: xcrun simctl list devices
![](https://img.haomeiwen.com/i3112038/90080ead5b49843b.png)
2.使用命令行
react-native run-ios --simulator="iPhone X"
终端中输入: xcrun simctl list devices
react-native run-ios --simulator="iPhone X"
本文标题:react-native run-ios指定模拟器
本文链接:https://www.haomeiwen.com/subject/xkdtdctx.html
网友评论