We have inherited a codebase from a developer who is now out of radar range in Australia. Our company has bought some Mac Minis, we have installed Xcode 5.1 and the project will not build. My boss claims it built under 5.0 so it can't be far off, but... Anyway the error that is currently breaking it is when it builds the precompiled header:
clang:error: no such file or directory '/Users/..../DerivedData/<app>-<gibber>/Build/Intermediates/PrecompiledHeaders/<App>_Prefix-<gibber>/<App>_Prefix.pch.dia
The (App)_Prefix.pch file exists, and it is correctly specified in the build setting because if I move it, the error changes to "Can't find pch file".
Things I have tried:
- Deleting the DerivedData folder
- Restarting Xcode
- Cleaning the project
- Touching the (App)_Prefix.pch file
- All of the above
- Turning off precompiled headers (but then I get lots of other errors)
- Googling for solutions not listed above
I am now out of ideas. Help!