IPhone - How to add AdSupport.framework in ios?

I try to use AdMob in my test application when I rum my application. I get the following error as shown below.

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

I searched for this error and everyone said add AdSupport.framework. But when I try to add this framework to my Xcode4.1 and Xcode4.4, AdSupport.framework does not disappear. Where can I get it and how to add this structure.

+4
source share
1 answer

AdSupport.framework is only available in iOS6 +, so you wonโ€™t be able to find it in Xcode version before 4.5

UPD:

According to the AdMob 6.2.0 change log:

  • It is required to use Xcode 4.5 and build against iOS 6. The minimum deployment is iOS 4.3.
+4
source

All Articles