on the line:
@implementation AccountCreateViewController
@synthesize profileFacebook;
@synthesize facebook;
Xcode 4 says :Error parse issue Unknown type name 'plementation' There are a lot of parse issue after that. But the project works on an iPhone.
I really don't know what it is... I try to convert the file in CR/LF (it was LF before), it didn't work.
ps:
I think I might have fixed it. It seems that LLVM Clang doesn't like UTF-8 BOM encoding.
See this Code Issue on the Sudzc website.
http://code.google.com/p/sudzc/issues/detail?id=27
For my own project, I opened up the offending files with TextWrangler and re-saved them with "Western (Mac OS Roman) encoding. So far I haven't gotten any further problems from LLVM/Clang.
I got the same error but in my .h
file. I fixed it simply by a forward declaration as:
#import "MyCustomClassThatGaveParseError.h" // existed before the error
@class MyCustomClassThatGaveParseError; // added to remove the weird error
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