Run react-native application on iOS device directly from command line?

前端 未结 7 1489
春和景丽
春和景丽 2020-12-12 10:41

Is it possible to run react-native application on an iOS device directly from the command line like we do on simulator with react-native run ios --simulator \"iPhone 5

7条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-12 11:23

    Got mine working with

    react-native run-ios --device="My’s iPhone"
    

    And notice that your iphone name, the apostrophe s ' might be different. Mine is using this ’

提交回复
热议问题