【发布时间】:2019-01-02 06:54:11
【问题描述】:
我在 Unity 2018 中使用 Firebase 最新版本。在构建我的项目时,Unity 说
iOS framework addition failed due to a CocaPods installation
failure.This will will likely result in an non-functional xCode
Project.
这是我的 Pod 文件。
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '9.0'
target 'Unity-iPhone' do
pod 'Firebase/Analytics', '5.4.0'
pod 'Firebase/Auth', '5.12.0'
pod 'Firebase/Core', '5.12.0'
pod 'Firebase/Database', '5.12.0'
pod 'Firebase/Messaging', '5.9.0'
pod 'GoogleAppMeasurement', '5.3.0'
end
当我尝试使用安装 pod 时
吊舱安装。
它说
[!] CocoaPods could not find compatible versions for pod
"Firebase/Auth":
In Podfile:
Firebase/Auth (= 5.12.0)
Specs satisfying the `Firebase/Auth (= 5.12.0)` dependency were
found, but they required a higher minimum deployment target.
我也更新了最新版本的 cocapods...
但是没有创建工作区..
如何解决问题...
提前致谢。
【问题讨论】:
-
更新 Firebase 。使用这个link 并检查版本