3.0 builds without issue, 3.1 (on latest Xcode) is a no go.
Error is:
ld: ldr 12-bit displacement out of range (4708 max +/-4096) in _AudioQueueAddPropertyListener$stub in _AudioQueueAddPropertyListener$stub from (build location info deleted)
I think I saw another update notice for Xcode so will try installing that to see if it fixes the problem. If not, I will submit a bug report and snapshot of the Unity project.
Also of note, the project builds fine for 2.2.1 and 3.0 devices.
right, we’re aware of some bugs with latest iPhone OS version. Unity iPhone has been finished way earlier then OS 3.1, that’s why we tested it only with OS 3.0. Though we’re doing our best to release new version that’s aware of 3.1 OS.
Yes, but if you update your development device to 3.1, then you need to update to the latest XCode (from my experience, the older one will complain it doesn’t recognize the OS on your device), and I’ve been able to get that to work with Unity still building for 3.0 devices (don’t even try 3.1), but it is flakier. If you’re almost done with your current app, I recommend releasing that before upgrading your setup.
I don’t think I submitted any apps since the iTunes/iPhone update but since the app submission is performed via the iTunesConnect web page I don’t see how it would matter.
Apple is not requiring 3.1 only 3.0 and 1.5 builds against 3.0 without issue.
Unity:
I just submitted a bug report and project for an Editor GPF on another thread. That project is the same one that will not build on OS 3.1 if you want to look at that as well.
That’s interesting, I didn’t realize Apple is requiring 3.0 builds now. I started building with OS 3.0 anyway so I wouldn’t have to test with more than one OS (which is why I’ll probably build with OS 3.1 as soon as possible)
Based on the crash reports I have seen from them, Apple seems to test touch and phone apps on a 2G Touch running 3.0. If an app is phone only, I would guess they would test it with a 3G (not GS) running 3.0, but I have never submitted one.
I have not seen them test on anything other than 3.0, and they only require 3.0 compatibility. It will be interesting to see how soon they start testing on 3.1 and/or require it.
And I would add, that I have submitted two apps built with Unity 1.5 on OS 3.0 and they were accepted by Apple, so again there is no issue with 1.5 as it pertains to 3.0 or 2.2.1.
Hey, what are the real issues, in using the latest SDK, having the DEV-touch updated to 3.1.1 and compile as 3.0 from XCODE, as it seems really the only 2.2.1 and 3.0 are working !??
In 15 days of Unity Iphone evaluation, we had no problems at all,
only the framerate difference among an Ipod Touch 8GB (3.1.1) and Iphone 3G(I believe it’s a 3.1.1 as well, not sure though, which I guess have the same graphic chipset and cpu) ,the ipod touch stays 30fps, the iphone sometimes laggs below, and reach 20fps.
Eheheheh, the more developers come in, the more will be the wait !
I have been successfully building my Unity iPhone project against OS 3.1 for one week without issue. Yesterday, I went to build against OS 3.1 and received the linking error which is the subject of this thread.
ldr 12-bit displacement out range (5140 max +/- 4096) in _AudioQueueAddPropertyListener$stub in _AudioQueueAddPropertyListener$stub from (path to executable)
Does anyone know if there is a workaround for this yet other than building for OS 3.0? Problem is, I have custom classes added to the xCode project which enhance some functionality in the game and these classes contain code which rely on features in 3.1. I’m in a bit of a pickle here.
Yes, this is a known issue. If you look back in this thread, you will see this is the same problem I opened the thread with. Unity is aware of it, but I have not heard if there is yet a patch for it. I suggest you just build your app against 3.0 and submit it. 3.1 is not yet required by Apple.