I don't know why its happening .... I an integrating a twitpic api and its working fine all the projects except one. I am getting 5488 errors and that too in classes like NSObject.h and NSObjCRuntime.h . This api has a folder named Crypto
which has two .c files in it, when i remove this folder from my project then the error decreases to 1 (because one of the class from this folder is used else where).All 5k+ errors are in these two class only, errors are like
FOUNDATION_EXPORT Class NSClassFromString(NSString *aClassName);
expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
few errors are
expected identifier or '(' before '@' token
expected identifier or '(' before '-' token
expected identifier or '(' before '+' token
One thing i am sure of is that there is no error in the classes because the same code is working good in other projects. One more thing to mention is that I have two .pch and there is no effect of removing one of them.
compile the files as objc, not c
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With