Xcode 5.1(5B130a)
iOS 7.1
使用CocoaPods
pod 'Google-AdMob-Ads-SDK'
Undefined symbols for architecture arm64:
"_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 arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
答案 0 :(得分:5)
仔细检查以确保已在xcode链接框架和库中添加GAD库。
要看的第二件事是Storekit框架。这些给你错误的类来自storekit。检查以确保它已添加到您的项目中
答案 1 :(得分:2)
尝试在项目框架中添加CoreTelephony和CoreText。