x


iOS: Upgraded OS x and Unity and Xcode and now game won't compile in Xcode?

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

more ▼

asked Jul 23 '12 at 05:32 AM

rsud gravatar image

rsud
100 15 19 24

When you build do you replace everything?

Hmm I have 3.5.3f3 and my Unity reckons to be up to date.

Jul 23 '12 at 08:15 PM Bovine

Yes I did. I deleted the Xcode build directory from Unity and redid the 'Build & Run' and got the same errors.

Any additional info I should provide that might help bring the issue out?

Jul 24 '12 at 06:52 PM rsud

bump bump

Jul 25 '12 at 04:24 AM rsud

Don't bump questions. People sleep.

Please confirm your version of Unity.

Jul 25 '12 at 07:13 AM Bovine

I have downloaded the latest Unity as part of my upgrade and it is 3.5.4f1. I also moved to Lion and Xcode 4.3.3.

Sorry for bumping but I am tense that my game no longer compiles in Xcode! :-) & :-(

Jul 25 '12 at 02:06 PM rsud
(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

The problem here was with the simulator.

Once I got my iPhone 4s provisioned (an adventure all on its own!) I was able to compile my game and run it on the iPhone.

So dunno why the simulator would not work but my problem is resolved now that I have my iPhone connected to Xcode.

more ▼

answered Jul 26 '12 at 03:03 PM

rsud gravatar image

rsud
100 15 19 24

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x3721
x346
x117
x74
x1

asked: Jul 23 '12 at 05:32 AM

Seen: 706 times

Last Updated: Jul 26 '12 at 03:03 PM