Keep getting error messages when compiling newest version of admob on IOS6 SDK

Øystein picture Øystein · Sep 27, 2012 · Viewed 27.9k times · Source

I've downloaded the newest version of googles admob sdk. But now I keep getting the following error when compiling in xcode 4.5 with the latest sdk.

Undefined symbols for architecture i386:
  "_OBJC_CLASS_$_ASIdentifierManager", referenced from:
      objc-class-ref in libGoogleAdMobAds.a(GADIdentifierUtilities.o)
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Any idea on what could be wrong?

Answer

Deor picture Deor · Sep 27, 2012

You probably didn't add AdSupport.framework. Also remember to remove -all_load linker flag.