This is an update.
For a while I didn't have the problem. I thought
that was because I switched to another build configuration. But I just received
the same error just now.
The PCH build specifies the following folder to
save the precompiled header:
ProcessPCH++
/Library/Caches/com.apple.Xcode.502/SharedPrecompiledHeaders/MSDEV4.0/HashDefines-ccljydmngssqvjcwbmcjenlfyoaa/HashDefines.h.gch
HashDefines.h normal ppc c++
When the error shows up, it can be verified that it
is looking in the appropriate folder, following the correct path although it is
not looking for a gch file anymore:
cc1plus:
/Library/Caches/com.apple.Xcode.502/SharedPrecompiledHeaders/MSDEV4.0/HashDefines-ccljydmngssqvjcwbmcjenlfyoaa/HashDefines.h:
No such file or directory cc1plus: one
or more PCH files were found, but they were invalid cc1plus: use -Winvalid-pch for more
information
However, I just verified and the whole "com.apple.Xcode.502" folder have disapeared with all
its child folders. Knowing that, the message "one or
more PCH files were found, but they were invalid" looks weird. Unless
that folder get deleted once an error is found with the precompiled
headers.
This is stalling me. I will try to use a different
place where to store the precompiled header and stay away from the
caches.
Yves Poissant
|