Xcode fatal error: file 'OO.h' has been modified since the precompiled header was built.

Sometimes, if you modified header files occasionally, Xcode will show a fatal error. And we can do a clean to solve this, but sometimes it still doesn't work.

So we must do a clean by ourselves,it's quite simple, just quit your Xcode and run this in terminal, then restart your Xcode.app.

rm -rf ${HOME}/Library/Developer/Xcode/DerivedData/ModuleCache/*


声明: 本文为0xBBC原创, 转载注明出处喵~

Leave a Reply

Your email address will not be published. Required fields are marked *