【Xcode】file 'XXX.pch'has been modified since the precompiled header was built

当我们把工程拷贝到其他目录时,会出现file 'XXX.pch'has been modified since the precompiled header was built 这样的错误。需要到BuidSetting里面,将Prefix Header对应的路径设为空即可,如图:

你可能感兴趣的:(Debug)