在编译oc中protocol时出现的错误

时间:2021-05-07 14:36:09

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

解决方法:在Build Setting  搜索框中搜索pch,找到了Prefix Header,把后面的Debug中和release中的所有信息都删除就可以解决。