_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 

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM