A lot of errors for me when I'm trying to build my iOS application using Unity. I've been around every forum for answers, nothing helps. I believe that there's something missing, like a framework or so. But I've added every framework that is needed.
I am running on Xcode 5.0.2, Unity 4.5 and Vuforia 2.8.7.
46 errors:>Undefined symbols for architecture armv7:
"CreateCVTextureCache()", referenced from:
-[MyAVController initTexture:] in libiPhone-lib.a(VideoTexture.o)
"_UnityGetGLViewController", referenced from:
-[MoviePlayerContext actuallyStartTheMovie:] in libiPhone-lib.a(iPhoneVideo.o)
-[MoviePlayerContext finish] in libiPhone-lib.a(iPhoneVideo.o)
-[AchievementWrapper showAchievementsUI] in libiPhone-lib.a(GameCenter.o)
-[AchievementWrapper achievementViewControllerDidFinish:] in libiPhone-lib.a(GameCenter.o)
-[LeaderboardWrapper showLeaderboardUI:withTimeScope:] in libiPhone-lib.a(GameCenter.o)
-[LeaderboardWrapper leaderboardViewControllerDidFinish:] in libiPhone-lib.a(GameCenter.o)
"UnityGetDesiredMSAASampleCount(int)", referenced from:
AfterPresentSurfaceGLES(EAGLSurfaceDesc*) in iPhone_GlesSupport.o
"CreateTextureFromCVTextureCache(void*, void*, unsigned int, unsigned int, int, int, int)", referenced from:
-[MyAVController updateTexture:] in libiPhone-lib.a(VideoTexture.o)
"GetGLTextureFromCVTextureCache(void*)", referenced from:
-[MyAVController updateTexture:] in libiPhone-lib.a(VideoTexture.o)
"UnityIsCaptureScreenshotRequested()", referenced from:
PreparePresentSurfaceGLES(EAGLSurfaceDesc*) in iPhone_GlesSupport.o
"UnitySendTouchesCancelled(NSSet*, UIEvent*)", referenced from:
-[EAGLView touchesCancelled:withEvent:] in AppController.o
"UnityIsOrientationEnabled(EnabledOrientation)", referenced from:
-[UnityViewController_preIOS6 shouldAutorotateToInterfaceOrientation:] in AppController.o
-[UnityViewController_IOS6 supportedInterfaceOrientations] in AppController.o
-[UnityVideoViewController_preIOS6 shouldAutorotateToInterfaceOrientation:] in AppController.o
-[UnityVideoViewController_IOS6 supportedInterfaceOrientations] in AppController.o
"ConvertToUnityScreenOrientation(int, EnabledOrientation*)", referenced from:
-[UnityViewController willRotateToInterfaceOrientation:duration:] in AppController.o
-[UnityViewController didRotateFromInterfaceOrientation:] in AppController.o
-[UnityViewController_preIOS6 shouldAutorotateToInterfaceOrientation:] in AppController.o
-[UnityVideoViewController willRotateToInterfaceOrientation:duration:] in AppController.o
-[UnityVideoViewController_preIOS6 shouldAutorotateToInterfaceOrientation:] in AppController.o
"UnityDidAccelerate(float, float, float, double)", referenced from:
-[AppController accelerometer:didAccelerate:] in AppController.o
"UnityCleanup()", referenced from:
-[AppController applicationWillTerminate:] in AppController.o
"UnitySendDeviceToken(NSData*)", referenced from:
-[AppController application:didRegisterForRemoteNotificationsWithDeviceToken:] in AppController.o
"UnityPlayerLoop()", referenced from:
OrientTo(int) in AppController.o
-[AppController Repaint] in AppController.o
-[UnityViewController didRotateFromInterfaceOrientation:] in AppController.o
"UnityLoadApplication()", referenced from:
-[AppController prepareRunLoop] in AppController.o
"UnitySendRemoteNotificationError(NSError*)", referenced from:
-[AppController application:didFailToRegisterForRemoteNotificationsWithError:] in AppController.o
"UnityPause(bool)", referenced from:
-[AppController pause] in AppController.o
-[AppController resume] in AppController.o
-[AppController applicationDidBecomeActive:] in AppController.o
-[AppController applicationWillResignActive:] in AppController.o
"UnityInitApplication(char const*)", referenced from:
-[AppController startUnity:] in AppController.o
"UnitySendRemoteNotification(NSDictionary*)", referenced from:
-[AppController application:didReceiveRemoteNotification:] in AppController.o
-[AppController application:didFinishLaunchingWithOptions:] in AppController.o
"UnityUse32bitDisplayBuffer()", referenced from:
AfterPresentSurfaceGLES(EAGLSurfaceDesc*) in iPhone_GlesSupport.o
"UnitySendLocalNotification(UILocalNotification*)", referenced from:
-[AppController application:didReceiveLocalNotification:] in AppController.o
-[AppController application:didFinishLaunchingWithOptions:] in AppController.o
"UnitySendTouchesMoved(NSSet*, UIEvent*)", referenced from:
-[EAGLView touchesMoved:withEvent:] in AppController.o
"UnityGetAccelerometerFrequency()", referenced from:
-[AppController registerAccelerometer] in AppController.o
-[AppController Repaint] in AppController.o
"QCARUnityPlayer::getInstance()", referenced from:
CreateSurface(EAGLView*, EAGLSurfaceDesc*) in AppController.o
-[AppController pause] in AppController.o
-[AppController resume] in AppController.o
-[AppController application:didFinishLaunchingWithOptions:] in AppController.o
-[AppController applicationDidBecomeActive:] in AppController.o
-[AppController applicationWillResignActive:] in AppController.o
-[AppController applicationWillTerminate:] in AppController.o
...
"QCARUnityPlayer::QCARPause(bool)", referenced from:
-[AppController pause] in AppController.o
-[AppController resume] in AppController.o
-[AppController applicationDidBecomeActive:] in AppController.o
-[AppController applicationWillResignActive:] in AppController.o
"UnityKeyboardOrientationStep2()", referenced from:
OrientTo(int) in AppController.o
"UnityInputProcess()", referenced from:
-[AppController Repaint] in AppController.o
"UnityRequestedScreenOrientation()", referenced from:
CheckOrientationRequest() in AppController.o
-[UnityViewController_preIOS6 shouldAutorotateToInterfaceOrientation:] in AppController.o
-[UnityViewController_IOS6 shouldAutorotate] in AppController.o
-[UnityVideoViewController_preIOS6 shouldAutorotateToInterfaceOrientation:] in AppController.o
-[UnityVideoViewController_IOS6 shouldAutorotate] in AppController.o
"QCARUnityPlayer::QCARSetOrientation(int)", referenced from:
-[AppController application:didFinishLaunchingWithOptions:] in AppController.o
-[UnityViewController didRotateFromInterfaceOrientation:] in AppController.o
"UnitySendTouchesBegin(NSSet*, UIEvent*)", referenced from:
-[EAGLView touchesBegan:withEvent:] in AppController.o
"QCARUnityPlayer::destroy()", referenced from:
-[AppController applicationWillTerminate:] in AppController.o
"UnityKeyboardOrientationStep1()", referenced from:
OrientTo(int) in AppController.o
"KeyboardOnScreen::Init()", referenced from:
-[AppController prepareRunLoop] in AppController.o
"UnityUseOSAutorotation()", referenced from:
-[UnityViewController willRotateToInterfaceOrientation:duration:] in AppController.o
-[UnityViewController didRotateFromInterfaceOrientation:] in AppController.o
"QCARUnityPlayer::QCARInit(char const*)", referenced from:
-[AppController application:didFinishLaunchingWithOptions:] in AppController.o
"UnitySetScreenOrientation(ScreenOrientation)", referenced from:
OrientTo(int) in AppController.o
-[UnityViewController didRotateFromInterfaceOrientation:] in AppController.o
"UnitySendTouchesEnded(NSSet*, UIEvent*)", referenced from:
-[EAGLView touchesEnded:withEvent:] in AppController.o
"UnityGetTargetResolution()", referenced from:
CreateSurface(EAGLView*, EAGLSurfaceDesc*) in AppController.o
"FlushCVTextureCache(void*)", referenced from:
-[MyAVController updateTexture:] in libiPhone-lib.a(VideoTexture.o)
"UnityGetTargetFPS()", referenced from:
-[AppController startRendering] in AppController.o
"UnityHasRenderingAPIExtension(char const*)", referenced from:
InitGLES() in iPhone_GlesSupport.o
"QCARUnityPlayer::QCARNotifyCreated(int, int)", referenced from:
CreateSurface(EAGLView*, EAGLSurfaceDesc*) in AppController.o
"UnityCaptureScreenshot()", referenced from:
PreparePresentSurfaceGLES(EAGLSurfaceDesc*) in iPhone_GlesSupport.o
"UnityParseCommandLine(int, char**)", referenced from:
_main in main.o
"UnityFinishRendering()", referenced from:
DestroySurface(EAGLSurfaceDesc*) in AppController.o
OrientTo(int) in AppController.o
-[AppController Repaint] in AppController.o
-[UnityViewController didRotateFromInterfaceOrientation:] in AppController.o
"UnitySetInputScaleFactor(float)", referenced from:
CreateSurface(EAGLView*, EAGLSurfaceDesc*) in AppController.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
↧