I’m getting an odd error in line 18 of the CLErrorDomain.h under CoreLocation.framework.
The line is
extern NSString *const kCLErrorDomain;
and there is an error for “Expected identifier or “(“
I haven’t messed with this file at all, and it’s locked anyways so it would be difficult to change. Why is this error coming up, and what can I do to get rid of it?
I’ve tried restarting xCode, cleaning my project and taking CoreLocation out of my project and putting it back in.
Thanks
Alright, the issue ended up not being in the CLErrorDomain.h
While looking at the error log, I noticed it was erroring out when it tried to compile the main.m… at the very top of the main.m file there was a stray “^” mark before any of the code and that was what was causing the error.