【发布时间】:2021-01-08 11:03:30
【问题描述】:
使用 XCode 12.0 构建我的 iOS 应用程序时出现以下错误:
Undefined symbols for architecture arm64:
"_GULResetLogger", referenced from:
_FIRResetLogger in FirebaseCore(FIRLogger.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
我的 Podfile 看起来像这样:
platform :ios, '12.0'
target 'MyApp' do
use_frameworks!
pod 'Firebase/Firestore'
pod 'Firebase/Auth'
pod 'Firebase/RemoteConfig'
end
以前我的 Podfile 也包含 pod 'Firebase/Core',但我已按照建议 here 将其删除,并使用 another answer 中的命令重新安装了我的依赖项:
pod deintegrate
pod cache clean --all
pod install
我还运行了pod update 以确保我拥有最新的依赖项,但我仍然遇到同样的错误。
如何构建我的应用程序?
【问题讨论】:
标签: ios xcode firebase cocoa cocoapods