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”

相关文章:

  • 2022-12-23
  • 2021-12-05
  • 2021-10-16
  • 2022-12-23
  • 2022-12-23
  • 2021-06-06
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-08-14
  • 2022-12-23
  • 2021-12-18
  • 2021-10-25
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案