【发布时间】:2016-12-03 08:24:18
【问题描述】:
iOS 应用在添加 Firebase/Messaging 之前运行良好,但在添加并运行“pod update”后,我在构建时开始收到这些错误:
Undefined symbols for architecture arm64:
"_OBJC_CLASS_$_GTMLogger", referenced from:
objc-class-ref in FirebaseMessaging(GIPReachability_d54098c5c1e1fdc4fca31a4803478650.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
这是我当前的 Podfile:
# Uncomment this line to define a global platform for your project
platform :ios, '9.0'
# Uncomment this line if you're using Swift
use_frameworks!
target 'KarmaSous' do
pod 'Firebase'
pod 'FirebaseMessaging'
pod 'Firebase/Database'
pod 'Kingfisher', '~> 3.1.4'
pod "GMStepper"
end
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['SWIFT_VERSION'] = '3.0'
end
end
end
任何帮助将不胜感激,谢谢!
【问题讨论】:
标签: ios firebase firebase-cloud-messaging