I keep getting this error. Once it happens I can not do any builds until it is fixed. I tried rebooting my mac including complete shut down and then turn on again later. Still I get the error. I also tried building to a new directory and overwriting old build directory. Sometimes loading a different project and building it works.
edit - I found that after getting the error if I start using "build" instead of "build & run" the problem goes away.
When Unity-iPhone 1.5.1 released, I believe there are a lot of people had a problem of "CFBundleExecutable of (null), which does not exist" in a popped up windows names "Can't install application".
And there will be some linking bug like "ldr 12-bit displacement out of range" in the Build log.
According to this article from AGON's web site: http://developer.agon-online.com/documentation/latest/sdk_versus_iphone_os.html
I've solved this problem today.
iPhone SDK version is different with iPhone OS, so that's how it is.
In the Unity-iPhone Project setting->Player->iPhone sdk Version, if we choose "iPhone OS 3.1.2", it would choose "iPhone Device 3.1.2" for SDK version (i.e. iPhone SDK 3.1.2), besides, it would caused XCode select your app. deployment and running target on iPhone OS 3.1.2., too.
The solution is so easy, you could still compile your project using SDK 3.1.2 for bug fixed and new features, and still running on OS 3.0 for larger base of customers. Very Happy
You only have to do it one time unless you have deleted your XCode project or cloned setting for distribution.
Here we go:
This solution would let AGON could be compiled normally in the same time.Wink
Good luck for you!!
answered Jan 28 '10 at 06:46 PM
I asked this question on Stack Overflow for a different project. Does this help?
answered Jan 14 '10 at 07:26 PM