_OBJC_CLASS_$_SKStoreProductViewController

Admob 更新后。放到工程里会报错。错误如下:

  "_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)



 

这个原因可能是有些Frameworks没有添加进去。可以试试添加 StoreKit.framework   与 AdSupport.framework 

我这边加了这两个后就没有问题了。 AudioToolbox.framework    SystemConfiguration.framework     MessageUI.framework 

 

你可能感兴趣的:(controller)