react-native 设置启动模拟器
查看iOS可选设备:
xcrun simctl list devices
iPhone7 Plus启动(下次启动会默认使用最后一次选择设备,直接启动npx react-native run-ios 即可):
npx react-native run-ios --simulator "iPhone 7 Plus”
xcrun simctl list devices
npx react-native run-ios --simulator "iPhone 7 Plus”