It is saying surface isn't declared. The application was working fine until I upgraded xcode. I included the problem area of code. I use unity if that helps solve the issure.
- (void) applicationWillResignActive:(UIApplication*)application
{
printf_console("-> applicationWillResignActive()\n");
UnityPause(true);
PresentSurface(&_surface);
QCARUnityPlayer::getInstance().QCARPause(true);
_didResignActive = YES;
}
Is there anyone has solved this problem?
Well, if you read below the answer is yes.
You need to upgrade to the latest version of the Vuforia SDK and make sure that there are no old components present.
Take a backup and then follow the steps in the migration guide:
https://developer.vuforia.com/resources/dev-guide/migrating-your-unity-project
N