|
When compiling for XCode, I get the following error: Undefined symbols for architecture armv6: "_checkin_raw", referenced from: RegisterMonoModules() in RegisterMonoModules.o "_isSupported_raw", referenced from: RegisterMonoModules() in RegisterMonoModules.o "_setup_unity", referenced from: RegisterMonoModules() in RegisterMonoModules.o ld: symbol(s) not found for architecture armv6 collect2: ld returned 1 exit status After doing some research I found out someone solved this issue by uninstalling and reinstalling Unity, I already went through that and nothing changed. I also checked that my library references were correct(only external library is TestFlight). I double checked that I've selected device and not simulator. I'm running iPhone OS 4.3, XCode 3.2.6 and Unity 3.4.0f5 So, do you guys have any ideas?
(comments are locked)
|
|
Found the answer after uninstalling and reinstalling both Unity and XCode(I don't know if this influenced the outcome or not) I made a search for _checkin_raw(one of the missing symbols) inside the XCode project and found out it was being called by one of my ANDROID plugins. The script for these plugin(HeyZap) was put outside the usual iOS and Android folder structure and when I checked it had a bunch of iOS calls. So, after considering going to law school since apparently that's all I'm good for, I gingerly commented the offending iOS only code from the plugin and then the application compiled and executed easily. So if this missing symbols error happens to you, this is what you should do: 1)Don't Panic 2)Search for the supposedly missing symbols to see where they are coming from(You can skip this if you know from what plugin or code they are being called) 3)Check the Build Phase for your project to make sure you're calling all the necessary libraries and frameworks. Thanks mate! You just saved me a lot of hair pulling - Cheers!
Oct 09 '12 at 10:06 AM
ezone
Awesome, this solved it for me :)
Feb 17 at 04:06 PM
macfinch
(comments are locked)
|
