I recently tried to compile an older Xcode project (which used to compile just fine), and now I\'m seeing a lot of errors of this form:
error: w
For others who are getting this error not for the reason OP described, you likely have the same issue as me:
You have a @property with the same name as a -()method.
Something like this:
@property UIView *mainView; -(UIView *)mainView;