I upgraded my phone to 3.1 beta and my app gets an error now:
ld: ldr 12-bit displacement out of range (4544 max +/-4096) in _AudioQueueAddPropertyListener$stub in _AudioQueueAddPropertyListener$stub from /Users/…
collect2: ld returned 1 exit status
When I build it under 3.0 with XCode 3.1 is builds fine.
I know 3.1 is a beta, but I just wanted to let everyone know there seems to be an issue with Xcode 3.1.
I also reported the bug to apple, but haven’t heard anything back from them yet. Only one other person has reported seeing this on their forums…
I’ve been doing some 3.1 development outside of Unity and haven’t run into this issue. It seems to be related to the amount of code: the project reaches a certain threshold at which point any inane line of code will push it over the edge. Also, if you’re using the new native plugin support it happens much sooner (requires less extra code to cause it). I’m sure all this has to do with the general footprint of the application - Unity projects are a good bit larger than native ones, so regular iPhone devs might not be seeing this.
Just FYI, I’m using all C# scripts (no javascript).
Hoping for a fix soon! (be it from Apple or Unity) This is a bit of a show stopper for our projects at the moment…
Default settings, no changes to them. Project as generated by UT without any modification or build script that alter it, only change beeing the revisions
My xcode does not recognize that my iPod Touch is connected when I build Release 3.0. It just says “No Provisioned Devices Connected”. Do I have to create a specific provisioning profile for the 3.1 device?
EDIT: I had to re-add the device in my organizer after the update. Silly me…