My Xcode 4.3.2 stopped to show up spelling errors and completions for code. The only way to find out if there is any error in the code – build it. Xcode colores only keywords such as if, else, for etc. All other code hasn’t colored. Shown only a few very strange completions. For example:
CGPoint p;
p.y // completion is "YES"
p.x // completion is "xor"
Completions for methods calls are only nearaly used methods. How can I fix this? I rebooted my mac several times already, and didn’t find any stuff about this in Xcode’s preferences.
What I do to solve this issue is:
1.) Change build settings from LLVM 3.1 to GCC 4.2
2.) Go to Organizer>Projects>(Select Project)> Delete
Derived Data3.) Change Builds Settings back to LLVM 3.1
My syntax highlighting then works again. No need to restart Xcode, and jump through other hoops and hurdles.
Hope this helps you as it does for me !
UPDATE: Some people can get it working with only Step 2, if that doesn’t work. Follow all 3 steps.