React Native pod install错误 SDK \"iphoneos\" cannot be located

孝平 2020-07-18

给Xcode命令行工具指定路径

sudo xcode-select --switch /Applications/Xcode.app

其他命令参考

$ sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer/
//查看sdk路径
$ xcrun --sdk iphoneos --show-sdk-path
//查看所有可用sdk
$ xcodebuild -showsdks

相关推荐

chunianyo / 0评论 2019-12-28