Why do I get this error message with this code? “Use of undeclared identifier ‘AppDelegate’
int main(int argc, char *argv[])
{
@autoreleasepool {
return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
}
}
I have imported the Appdelegate file – It’s been there since the beginning since the app sets it there by default.
I am a bit lost and its the only error I got.
Cheers Jeff
Just check the exact Spelling of your AppDelegate file’s name, and make sure you’re calling with a correct spelling in the main file…
Might be possible that your actual file name is something like :
Appdelegate.hAnd you’re calling it as