By mickbanks
on Mon, 04/08/2013 - 15:34
Hi,
Today I updated Unity4 Pro to 4.1.2 & now when I build I get the following error when X-code builds.
(void) applicationWillResignActive:(UIApplication*)application
{
printf_console("-> applicationWillResignActive()\n");
UnityPause(true);
PresentSurface(& _surface);
QCARUnityPlayer::getInstance().QCARPause(true);
_didResignActive = YES;
}
// the ERROR it states
RollBall/RollAballTest1/Classes/AppController.mm:486:19: Use of undeclared identifier '_surface'
I notice in the following Vuforia iOs thread they talk about a similar situation... but I'm not sure how to rectify it.
https://developer.vuforia.com/forum/ios/error-new-version-xcode-unity-plugin
Mick
Updated Unity to 4.1.2 Error Xcode
Hi Mick,
Updated Unity to 4.1.2 Error Xcode
Hi Nalin,
I tried deleting the postprocess build player from within Assets> Editor but no luck :(
I believe I am using the latest Vuforia SDK ... I downloaded from the Qualcom site a day ago. 2-0-31
Updated Unity to 4.1.2 Error Xcode
Hi Mick
You need to remove 2.0.29 completely, so make a copy first. You can check for yourself by comparing the PostProcessBuildPlayer in Assets/Editor and this should show where the error is.
Also, you can verify 2.0.31 works by running one of the samples.
Updated Unity to 4.1.2 Error Xcode
Is there a "clean way" of removing Vuforia from a project ? I notice QCAR files etc... in many different folders
I can easily go in and start simply deleting anyhting I beleive to be vuforia related... but perhaps this is a bad idea
Updated Unity to 4.1.2 Error Xcode
The official way to upgrade is described here:
https://developer.vuforia.com/resources/dev-guide/migrating-your-unity-project
Let me know how it progresses.
N
Updated Unity to 4.1.2 Error Xcode
I looked over the Post Process Editor
RollBall/Assets/Editor/PostProcessBuildPlayer", line 427, in <module>
Updated Unity to 4.1.2 Error Xcode
what I meant was if you open it up in textedit, for the latest it should show the following:
# version date 30/1/13
Updated Unity to 4.1.2 Error Xcode
OK fixed it ..... Working fine again... I just built to iPad & its running great. I folowed the Migrating instructions & now all is good :)
Updated Unity to 4.1.2 Error Xcode
Excellent - great to hear!
N
Updated Unity to 4.1.2 Error Xcode
Hey guys, I wanted to post a response that might help some people. I was having this exact same issue, and I had thought that I deleted everything Vuforia until I remembered that I also had Vuforia Video Playback in my project!