One of my favourite blog topics is poking fun at Xcode and all of the bizzare problems I encounter with it. The most recent one was a compiler error that looked like this:
fatal error: file '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform
/Developer/SDKs/iPhoneSimulator6.0.sdk/usr/include/Availability.h' has been modified since the precompiled header was built
Strange, right? Fortunately, it was an easy fix – all I had to do was a Clean. After that, it compiled correctly.
What boggles my mind is that Xcode knew exactly what was wrong, but wasn’t smart enough to fix the problem itself. Maybe I am being unrealistic here, but it seems to me that a file included in the precompiled header has changed, the correct behavior would be to, you know, recompile the precompiled header?
Then again, it’s Xcode. So I guess not.
It is very common problem if you are dealing with library development.I would suggest you to set “Precompile Prefix Header” to NO. For me nothing works except this.
I have error of nsstring.h file
I tried to clean, but it doesn’t remove erroris there any another solution otherthan reinstalling?
And
Where can I set precompile prefix header to NO??