react-native 设置启动模拟器

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

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

查看iOS可选设备:

xcrun simctl list devices

你可能感兴趣的:(react-native 设置启动模拟器)