2016-12-03 69 views
1

的iOS應用程序添加火力地堡/消息前工作正常,但將它添加和運行「莢更新」後,我開始收到這些錯誤時建築:添加火力地堡/消息CocoaPod導致iOS應用程序,以不建

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 

任何幫助將不勝感激,謝謝!

回答

0

你有沒有嘗試添加pod 'Firebase/Messaging'代替pod 'FirebaseMessaging'

0

我有同樣的錯誤,我已經解決了錯誤。

請確保「編輯計劃>生成>編譯選項>查找暗指的依賴」被選中。