Reputation: 6190
Out of nowhere I get this strange compiler warning in Xcode. This errors lead to even more errors in other files, and none of these files have been modified in days (including this one). An hour ago I was able to compile, but few minutes later I got this.
I already did a clean but that didn't help. I also retyped every special character in these files, which didn't help either.
I am using Xcode 4.6.2
Edit: Actual source to remove downvote...
#import <Foundation/Foundation.h>
@interface TempPartner : NSObject //Expected identifier or '('
@property (nonatomic) NSString *key;
@property (nonatomic) NSString *fullname; //Unexpected '@' in program
@property (nonatomic) NSString *text; //Unexpected '@' in program
@property (nonatomic) NSString *mail; //Unexpected '@' in program
- (TempPartner *)initWithKey:(NSString *)key fullName:(NSString *)fullname text:(NSString *)text mail:(NSString *)mail;
//Expected a type
//Missing context for method declaration
@end //Expected method body
Upvotes: 0
Views: 438
Reputation: 8029
Go to the Log Navigator (View > Navigators > Show Log Navigator). Choose your latest build. It should have a red circle next to it because of the errors. Click on it to show the log for that build. What does it say?
Check your precompiled header .pch
file for errors, also check your AppDelegate.
Upvotes: 1