I’ve looked around in the forums and haven’t really been able to find any conclusive info on if Unity supports XCode 4 / iOS 4.3 officially.
I made a test mobile project (a simple forest scene) in Unity 3.3–and it took me awhile to get it to compile, but I finally did. I got all kinds of linker errors (like 1500 of them) before I set the SDK version inside Unity to be for the iOS Simulator (latest 4.2). (I just figured at the time, if I built the simulator target in XCode, the setting in the Player Settings would be irrelevant)
So now with that set, and ARM7 (iPad only) as the target…it compiles. But when I build and run the XCode project in XCode 4 for either iPad 4.2/4.3 or iPhone 4.2/4.3 simulators it crashes in UnityInitApplication (from the startUnity call)
Is there some kind of project setting I need to to get this to behave in XCode 4? Or are we still waiting for official Unity support for 4.3/XCode 4.
Up until the real 4.3 support unity was there but apple followed their pattern of last minute fuckup.
So yeah for the time being you have to wait or do what is recommended anyway: ignore the simulator, with unity it serves no purpose. use remote for in editor testing if you don’t give a crap on the correct behavior and deploy to the device for real testing (the simulator neither reflects performance, rendering, input, memory nor “is working”)
Same thing here. Uninstalled XCode 4 and reinstalled older XCode 3.2.6 with iOS 4.3.
Compiler still shows ~1000 warnings, but I can at least run it on iPad without crashing. I don’t think Unity fully supports 4.3 as of yet, but it works with older XCode.
By saying “forest” you mean terrain with trees? If that’s the case then crash is known problem: Unity iOS currently does not support terrain, but there is a bug in editor, which allows you to build project with unsupported features.