Xcode is behaving pretty weird right now:
If I try to create the Create for Archive application, the build process will end without any errors or warnings. However, if I try to "Archive", it will put a huge load on my build errors. Errors (and the number of errors) differ with each attempt.
The app still works great on the simulator and on the device. I have successfully archived the same application before, although the last successful archive was created using Xcode 4.0.1 (now 4.0.2).
Live update:
Among the mass of errors, one recurring problem arises: it looks like the app pch file (precompiled header file) cannot be found. I believe this is the root error for all other issues. The question remains, why it cannot be found during archiving, despite the fact that it is perfectly available for all other types of assemblies (and even "assembly for archives")?
How can I overcome this error? If this is a bug in Xcode 4.0.2: Is there a way to archive the assembly without using the Archive option?
Edit: This may be another hint: right after he complained that pch could not be found, another error says that βone or more PCH files were found, but they were invalidβ - hokay ...
Toastor
source share