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”

猜你喜欢

转载自www.cnblogs.com/shengulong/p/12005199.html
今日推荐