I upgraded from Unity 4 to 5 and Vuforia 3 to 4 and now xCode complains when building for iOS.
It happens on the UnityAppController.mm
- (void)applicationDidBecomeActive:(UIApplication*)application{ // Code QCARUnityPlayer::getInstance().QCARInit([orientation UTF8String]); QCARUnityPlayer::getInstance().QCARSetOrientation([_unityView contentOrientation]); [self performSelector:@selector(startUnity:) withObject:application afterDelay:0]; } _didResignActive = false; }
- (void)applicationWillTerminate:(UIApplication*)application { //Code QCARUnityPlayer::getInstance().destroy(); //Code }
Semantic issue, Use of undeclared identifier 'QCARUnityPlayer'.
I do have the #include "QCARUnityPlayer.h" on the top.
I have tried to restart and rebuild but nothing changes.
I have set the build to IL2CPP with ARM64 if that is relevant.
Anything missing or wrong?
Thanks so much for that.
I did follow that guide but must have also missed that one file as I had the PostProcessBuildPlayer still there with an extra file with the 1 on it.
All seems to work and compile now.
Cheers