1、sudo xcode-select -s /Applications/Xcode.app/Contents/Developer/
2、指定simulator运行项目,react-native run-ios --simulator "iPhone 6s"
3、指定真机运行 react-native run-ios --device "zhuoiPhone"
1、sudo xcode-select -s /Applications/Xcode.app/Contents/Developer/
2、指定simulator运行项目,react-native run-ios --simulator "iPhone 6s"
3、指定真机运行 react-native run-ios --device "zhuoiPhone"