Search code examples
objective-cxcodexcode4

Objective C, CABase.h file error


I hate Xcode 4! It crashes all the time and finally it gives me an error in CABase.h file which is an library header file that I am not allowed to modify..

I don't even know how this file is broken. How to fix this problem? It complains like

 "Expected *before*
 Expected '=',',',';','asm' or '_attribute_' before 'extern'

Also, how can I completely remove Xcode on my Mac and re-install?


Solution

  • You probably just have a simple error, perhaps in a header which is included prior to CABase.h. Use a "divide and conquer" strategy to locate it.

    To answer your last question:

    $ sudo /Developer/Library/uninstall-devtools –mode=all