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!

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