After spending a great deal of time trying to diagnose and fix this problem I have been able to ascertain that:
On June 15th XCBBuildService, a component of XCode, crashed. This killed Xcode.
Now I can’t build my projects because even though the header files in the projects are installed correctly and have the correct target membership, the analyzer thinks that they are not in the build scheme of the project.
When I try to build a project Xcode will fail to build as soon as it encounters a header file. It will report the spurious error: Expected identifier or ‘(‘ as soon as there is any text after any #includes. This is function prototypes but also statements like enum.
Then it will report an error of undefined functions in a file where the prototypes are in the .h file that it now can’t build.
I can’t install the latest version of Xcode because I’m using an Intel iMac. How in the world can I possibly fix this?
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: