All of a sudden I am getting crazy random errors when I build my project in Xcode. There are usually around 15 or 16 errors that appear, but they all relate to a 3rd party library, not my own code.
First it was the FMDB library that had all the errors, then randomly later on it was ASIHttp errors, same kind of messages, such as:
Illegal interface qualifier
Then there are lots of Expected a type errors is a few of the headers, e.g.
- (void)requestStarted:(ASIHTTPRequest *)request;
- (void)request:(ASIHTTPRequest *)request didReceiveResponseHeaders:(NSDictionary *)responseHeaders;
- (void)request:(ASIHTTPRequest *)request willRedirectToURL:(NSURL *)newURL;
- (void)requestFinished:(ASIHTTPRequest *)request;
- (void)requestFailed:(ASIHTTPRequest *)request;
- (void)requestRedirected:(ASIHTTPRequest *)request;
All of the above lines error.
The only warning I have is to do with my own code, which is:
Incomplete implementation however it seems to me like it is complete, there is nothing missing from the class that I have in the header.
It's totally blowing my mind, I have no idea what's wrong, so if anybody could help I'd really appreciate it.
Thanks in advance.
I had this kind of errors once (Illegal interface qualifier) amongst others.
Symptoms
Large amount of errors appearing out of the blue in previously perfectly compilable projects. Error are most often syntax- or qualifier-related. The code looks fine, the symbols are well defined, the method exists, but somehow the compiler sees an error. The errors can also pop near function-ends, Objective-C message ends, control loop ends, etc.
Cause of the issue
The presence of an extra character near the beginning of a header or code file. Unknowingly added by the developer.
How to solve it
Checking headers and source files. Looking for ill-placed characters, especially near the beginning of the files.
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