"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

Error with new version of xcode, unity plugin

 

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;

}