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,只要把标红的丢失文件删除掉就行了。