简体   繁体   English

iPhone - 如何在ios中添加AdSupport.framework?

[英]iPhone - How to add AdSupport.framework in ios?

I am trying to use the AdMob in my test application when I rum my application i am getting the following error as shown below. 我试图在我的测试应用程序中使用AdMob,当我朗读我的应用程序时,我收到以下错误,如下所示。

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 googled around this errors and everyone telling to add the AdSupport.framework. 我搜索了这些错误,每个人都告诉我要添加AdSupport.framework。 But when I try to add that framework in my Xcode4.1 and Xcode4.4 there is no AdSupport.framework is not missing. 但是当我尝试在我的Xcode4.1和Xcode4.4中添加该框架时,没有AdSupport.framework不会丢失。 Where can I get it and how to add that framework. 我在哪里可以获得它以及如何添加该框架。

AdSupport.framework available only in iOS6+, so you won't be able to find it in XCode version prior to 4.5 AdSupport.framework仅在iOS6 +中可用,因此您无法在4.5之前的XCode版本中找到它

UPD: UPD:

According to AdMob 6.2.0 changelog: 根据AdMob 6.2.0更改日志:

  • Required to use Xcode 4.5 and build against iOS 6. The minimum deployment is iOS 4.3. 需要使用Xcode 4.5并针对iOS 6构建。最低部署是iOS 4.3。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM