gpt4 book ai didi

ios - swift 编译时出现 Admob 错误

转载 作者:行者123 更新时间:2023-11-28 08:32:03 26 4
gpt4 key购买 nike

我已完成所有步骤 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

我该如何解决这个错误?

最佳答案

是的,当我将 XCODE 更新到最新版本时,问题解决了

关于ios - swift 编译时出现 Admob 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38661513/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com