Using this project: https://github.com/dalexsoto/Monotouch-AdMob-Bindings
I am adding the AdMob .a to my MonoTouch app. I’m not sure that these compile errors mean, though I guess the bindings in the MonoTouch dll are not correct?:
Compile Flags:
-v -v -v -gcc_flags “-framework AudioToolbox -L${ProjectDir}
-lGoogleAdMobAds -force_load ${ProjectDir}/libGoogleAdMobAds.a”
Resulting error:
Undefined symbols:
"__Unwind_Resume", referenced from:
-[GADIdentifierUtilities locale] in libGoogleAdMobAds.a(GADIdentifierUtilities.o)
-[GADIdentifierUtilities iTunesMetadata] in libGoogleAdMobAds.a(GADIdentifierUtilities.o)
-[GADOpener openNotification:] in libGoogleAdMobAds.a(GADOpener.o)
-[GADNotification initWithNotificationURL:] in libGoogleAdMobAds.a(GADNotification.o)
-[GADWebView initWithFrame:] in libGoogleAdMobAds.a(GADWebView.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
Adding –cxx if often enough but, since it does not work, you might want to try being more specific and also add -lgcc_s – this time inside the gcc_flags, so using something like:
-v -v -v -cxx -gcc_flags=”-lgcc_s …”
in your ‘extra mtouch arguments’.