in android we can run directly to android device with adb and sdk installed. so can i run react-native app to iOS device directly without installing iOS emulator or xcode?
这是不可能的,你需要 xcode
It is possible. You can run your React-Native app directly in connected device, Using the following command without open xcode.
react-native run-ios --device="device_name"
But xcode must be install in your machine.
在终端输入这个
react-native run-ios --simulator=”iPhone 11 Pro Max”
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.