- Home /
XCode errors
Hi. I'm new to XCode (about a week), and I have XCode 3.2.6 for Mac OS X version 10.6.6 or higher, and I tried Building and Running a test run of my game to XCode. It worked fine, until, when I tried Building and Running on XCode, I got exactly 2338 errors when debuging on the 'Unity-iPhone-simulator'!! Most say at the begging "Register_UnityEngine_..." Does anybody know why?
Just letting you know, I'm using these softwares/hardwares:
Mac OS X version 10.6.8 (iMac)
XCode version 3.2.6
Unity version 3.5 (for Mac)
Thank you for your support!
Could it be that Unity might not 'play' well with such an old version of Xcode (current is something like 4.2).
Answer by AtomicMarine · May 01, 2012 at 01:58 PM
Most of these error come from you having the wrong build set up in your Unity Player settings and trying to build something which differs from these settings in the Xcode
Edit > Project Setting > Player
and make sure that the OS you are building for under the mobile platform is iPhone simulator if you are wanting to build the project for an iPhone simulator or iPhone if you are wanting to build the project for the iPhone directly.
This can all be found in that tab under "other settings"
Check that the target device and Target platform correlate correctly with your Xcode project
Also if you want to build for the mobile device make sure it is plugged in prior to building the project
Your answer
Follow this Question
Related Questions
Unity iPhone - Player Settings - iPhone SDK Version (missing) 6 Answers
xcode fails to build a very simple scene (201 errors) 3 Answers
Current unity iPhone and iphone 4 2 Answers
API integration for Unity 1 Answer
Compiling in Xcode? 0 Answers