Here’s one total Mac iPhone newbie… How do you set XCode to build for specific target by default when it’s launched from Unity? Mine seems to be lacking a default value (it says “Missing” at the top) and the build fails. I can set it manually and then everything is fine, but XCode forgets the setting as soon as I close it…
There is a dropdown in Project setting → Player in Unity iPhone 1.5.1, you can choose the device OS target there, and then Command-B will build and install all the way through.
(3.1 or 3.1.2 may have problems, most people recommend using a lower one anyway like 2.2.1)