I was on snow leopard, Unity 3.4, and Xcode 4.0 and developing for iPhone.
My game ran fine on this release of Unity and the game would compile in Xcode and run on my iPod Touch.
I did a mass upgrade to Lion, Unity 3.5.4, and Xcode 4.3.3.
My game runs fine in the updated Unity.
But when I compile to Xcode I am getting a lot of errors (compiler stops counting at 201).
I’ve set iOS 5.1 every where I can find (in Unity and in Xcode) but I must be missing some setting.
Below is a sample of the errors I am seeing. Can anyone help and suggest what setting I might be missing or what action I need to take to solve these compile errors?
Thank you for any help.
ld: warning: ignoring file /Users/untitled/Unity3/WhiteCorpuscleWars/WCW/Libraries/libiPhone-lib.a, missing required architecture i386 in file
Undefined symbols for architecture i386:
“UnityUse32bitDisplayBuffer()”, referenced from:
CreateWindowSurface(EAGLView*, unsigned int, unsigned int, unsigned int, bool, EAGLSurfaceDesc*) in AppController.o
OpenEAGL_UnityCallback(UIWindow**, int*, int*, int*) in AppController.o
AfterPresentSurfaceGLES(EAGLSurfaceDesc*) in iPhone_GlesSupport.o
“UnityGetTargetResolution()”, referenced from:
CreateSurface(EAGLView*, EAGLSurfaceDesc*) in AppController.o
“UnitySetInputScaleFactor(float)”, referenced from:
CreateSurface(EAGLView*, EAGLSurfaceDesc*) in AppController.o
“UnityFinishRendering()”, referenced from:
DestroySurface(EAGLSurfaceDesc*) in AppController.o
HandleOrientationRequest() in AppController.o
-[AppController Repaint] in AppController.o
-[UnityViewController didRotateFromInterfaceOrientation:] in AppController.o
“UnityGetShowActivityIndicatorOnLoading()”, referenced from:
CreateActivityIndicator(UIView*) in AppController.o
“UnityIsRenderingAPISupported(int)”, referenced from:
OpenEAGL_UnityCallback(UIWindow**, int*, int*, int*) in AppController.o
“UnityGetDesiredMSAASampleCount(int)”, referenced from:
OpenEAGL_UnityCallback(UIWindow**, int*, int*, int*) in AppController.o
AfterPresentSurfaceGLES(EAGLSurfaceDesc*) in iPhone_GlesSupport.o
“UnityRequestedScreenOrientation()”, referenced from:
ShouldHandleRotation(ScreenOrientation*) in AppController.o
-[UnityViewController shouldAutorotateToInterfaceOrientation:] in AppController.o