其他分享
首页 > 其他分享> > React Native pod install错误 SDK "iphoneos" cannot be located

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

作者:互联网

给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

 

标签:--,Xcode,sudo,React,located,cannot,app,select,sdk
来源: https://www.cnblogs.com/dch0/p/13335170.html