file has been modified since the precompiled header was built

后端 未结 13 1882
鱼传尺愫
鱼传尺愫 2020-12-23 09:49

So I accidentally modified a header (CBCentralManager.h) and caused the above error to show when I build. I searched stack overflow for the solution, and found

13条回答
  •  醉梦人生
    2020-12-23 10:35

    You can also try these, clean and then build again

    find /var/folders 2>&1 | grep -v 'Permission denied' | grep '\.pcm' | xargs rm
    find ~/Library/Developer/Xcode/DerivedData 2>&1 | grep -v 'Permission denied' | grep '\.pcm' | xargs rm
    

提交回复
热议问题