x


iPhone OS 3.1.2 + Xcode 3.1.4 + Unity iPhone 1.5.1 Build problems ?

I've been having problems building my project with Xcode 3.1.4, for target Device 3.1.2|Release. This happened both with Unity 1.5.0 and 1.5.1

Here's the error: ldr 12-bit displacement out of range (5976 max +/-4096) in _AudioQueueAddPropertyListener$stub in _AudioQueueAddPropertyListener$stub

This also happens with OS target 3.1

If I choose OS target 3.0, and Code signing for iPhone Developer, it works just fine. If I choose OS target 3.0, but choose Code signing for iPhone Distribution, the game builds, shows the splash screen, and then crashes with an error like: 'Error launching remote program: failed to get the task for process 1702' (the process number is different each time it runs).

I haven't done any changes in X-code to the project, I left it as Unity puts it out. Any advice on this would be much appreciated.

Also, if you have any experience on which OS version would be best for submitting the game to the AppStore, please share (2.2.1/3.0/3.1/3.1.2)

Thank you!

more ▼

asked Nov 21 '09 at 10:45 AM

BogdanDude gravatar image

BogdanDude
268 15 17 32

(comments are locked)
10|3000 characters needed characters left

4 answers: sort voted first

Select 2.2.1 as a build target in XCode.

Generally you want to avoid compiling for latest OS anyway, as it shrinks your customer base - only those who have latest OS will be able to install your application.

more ▼

answered Dec 02 '09 at 10:40 AM

ReJ gravatar image

ReJ
346 2 6

(comments are locked)
10|3000 characters needed characters left

The problem still happens in Unity 3.3 / XCode 3.2.5 / iOS 4.2 :-(

To solve it, set the 'target iOS version' to 3.0 in the player settings in Unity. (thanks to Denis Simuntis from Unity for providing this answer)

more ▼

answered Mar 03 '11 at 09:14 PM

Mortennobel gravatar image

Mortennobel
1.8k 10 15 34

(comments are locked)
10|3000 characters needed characters left

try to set GCC_THUMB_SUPPORT = NO

more ▼

answered Oct 06 '10 at 06:22 AM

cit gravatar image

cit
1

(comments are locked)
10|3000 characters needed characters left

This is a known bug in XCode. You have to use iPhone OS 3.0 until Apple fixes it...

more ▼

answered Nov 21 '09 at 01:16 PM

nvsp gravatar image

nvsp
111 5

Are you sure? Some people said their Unity game ran smoother on 3.1, when it first launched... so I guess they were able to build it just fine.

Nov 21 '09 at 01:22 PM BogdanDude

Well, I get the same error you do, and this is information I found on the unity forums while I was googling the error message...

Nov 23 '09 at 09:23 PM nvsp
(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:

x1998
x1938
x346

asked: Nov 21 '09 at 10:45 AM

Seen: 3922 times

Last Updated: Nov 21 '09 at 10:45 AM