I make changes in my project all day, create and run the project, and now, when I try to build, I get this error:
fatal error: file /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h' has been modified since the precompiled header was built
- When I try to clean a project by going to
Product -> Clean , it refuses to clean and gives me the same error. - I deleted the
.build directory from the project folder, forcing him to rebuild the project and did not fix anything. - I deleted the folder
~/Library/Developer/Xcode/DerivedData/PROJECT_NAME_HERE , also did not help. - I tried closing and reopening Xcode, which didn't help either.
I checked the Foundation.h header file and it shows the Date Modified on October 30th along with any other file in the Headers folder, so it really hasn't been changed.
Other projects that I create do not have this error.
I donโt get it here. Xcode seems to be lying to me.
source share