在快速

时间:2016-07-29 14:37:00

标签: ios swift admob

我已手动执行了所有步骤here并使用了pod,但我总是遇到类似问题,如下所示:

Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_SFSafariViewController", referenced from:
objc-class-ref in GoogleMobileAds(flat-x86_64)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

我手动添加了所有框架:

AdSupport.framework  
AudioToolbox.framework  
AVFoundation.framework  
CoreGraphics.framework  
CoreTelephony.framework  
EventKit.framework  
EventKitUI.framework  
MessageUI.framework  
StoreKit.framework  
SystemConfiguration.framework  
including safariservices and corebluetooth

如何解决此错误?

1 个答案:

答案 0 :(得分:0)

我将XCODE更新到最新版本

时解决了问题