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
_didResignActive = YES;