基本上,我根據firebase.google.com網站的指示進行了如何設置。一切都設置好了,直到我試圖在App Delegate中使用FIRApp.Configure()。收到錯誤。重新安裝Cocoapods以實現版本是2.5.1,我不相信它是最新版本。那麼如何獲得最新版本是我的問題?繼續安裝Firebase 2.5.1,而不是使用Cocoapods安裝的最新版本
注意:使用Swift時,pod搜索僅顯示最新的2.5.1。
波德文件:
# Uncomment this line to define a global platform for your project
# platform :ios, '8.0'
target 'OptionMeFood' do
# Comment this line if you're not using Swift and don't want to use dynamic frameworks
use_frameworks!
# Pods for OptionMeFood
pod 'Firebase'
end
您可以將文字發佈在您的pod文件中嗎? – Jay
是的,它已被上傳 –