Xcode报错 Command /Applications/Xcode.app…usr/bin/local failed

Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/local failed with exit code

方案1:
Derived Data本身Default状态, 设置成Relative(关联)就正常
在这里插入图片描述
方案2:
在Build Settings 中,
将Apple LLVM compiler 4.1 - Language 中的
c++Standard Library 修改为
libstdc++(GNU C++ standard library)

方案3:
在Build Phases–>Complie Sources中找到有两个xxx.m文件,一个正常,一个标红了xxx.m,只要把标红的丢失文件删除掉就行了。

发布了121 篇原创文章 · 获赞 4 · 访问量 1万+

猜你喜欢

转载自blog.csdn.net/yanhaijunyan/article/details/103869203