Hey guys,
I tried searching around but didn’t find anything that matched exactly so wanted to see if this is user error on my part or something else…
I’ve been working on a PoC for an iOS project but haven’t had access to OS X for any sort of live testing until this evening. My hope was to gauge performance in the Simulator. I was able to get my hands on a MacBook Air running OS X 10.8.5, ported my project to a fresh install of Unity 4.2.2, and built a version of the game and threw it into XCode 5. This is pretty much a pristine OS X install I’m playing with at this stage.
I went through most Player Settings within Unity prior to hitting Build, most notably:
- Target Resolution : iPhone + iPad.
- SDK Version : Simulator SDK.
- Target iOS Version : Numerous, including 4.3, 6.0, etc.
I opened the project in XCode via Finder, and have tried numerous simulation settings but I constantly hit the following error in there:
Undefined Symbols for architecture i386:
“DebugStringToFile(char const*, int, … )”, references from:
prcore::Surface::ClearImage(prcore …)
prcore::Surface::BlitImage(prcore…)
ld: symbols(s) not found for architecture i386
clang: error: linker command failed with exit code 1
I wondered if it was my Unity Project so I fired up the Angry Bots demo and got the same result so I’m curious if this is something stupid (I’m fumbling through the OS X stuff at the moment) on my end, or if this is among the teething issues with XCode 5 that I’ve read some of since researching this.
I can’t find anything searching for “unity” and “debugstringtofile” in google so I’m at a loss.
Any thoughts on if an earlier version of XCode will be of use?
Apologies in advance if this is the wrong place to dump this question.
Thanks,
Greg