How to reconfigure and build an Xcode project that does not have a Prefix.pch

advertisements

I have an Xcode Project. For some reason there is no precompiled header(No ProjectNamePrefix.pch files provided in the project) Someone must turned it off when they created this project.

Now when I try to build the project there is always an error saying Clang can't find the ProjectNamePrefix.pch file inside the project directory.

I have already turned off Precompiled Header in Building settings and deleted Derived Data folder.


Just go to your target, then to build settings and find prefix header. Then remove it (or add file with such path, if you need it)