美文网首页
解决 xcrun -sdk iphoneos clang is

解决 xcrun -sdk iphoneos clang is

作者: 这就是昵称 | 来源:发表于2019-06-13 21:29 被阅读0次

在 Mac 终端执行 shell 脚本时,出现 “xcrun -sdk iphoneos clang is unable to create an executable file.
C compiler test failed.” 报错。解决方案如下:

在终端执行命令 sudo xcode-select --switch /Applications/Xcode.app

相关文章

网友评论

      本文标题:解决 xcrun -sdk iphoneos clang is

      本文链接:https://www.haomeiwen.com/subject/raiefctx.html