react-native 设置启动模拟器

react-native 设置启动模拟器

  1. 查看iOS可选设备:

xcrun simctl list devices

  1. iPhone7 Plus启动(下次启动会默认使用最后一次选择设备,直接启动npx react-native run-ios 即可):

npx react-native run-ios --simulator "iPhone 7 Plus”

posted @ 2019-12-08 12:03  脚本小娃子  阅读(639)  评论(0编辑  收藏  举报