x


Undefined Symbols for ARMV6 and RegisterMonoModules.so XCode Eror

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?

more ▼

asked May 02 '12 at 09:49 PM

quilo gravatar image

quilo
33 4 4 5

(comments are locked)
10|3000 characters needed characters left

1 answer: sort oldest

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.

more ▼

answered May 03 '12 at 05:06 PM

quilo gravatar image

quilo
33 4 4 5

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)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x1999
x346

asked: May 02 '12 at 09:49 PM

Seen: 1370 times

Last Updated: Feb 17 at 04:06 PM