0

Firebase已更新至4.0,破解了大量代码,因此我需要将我的安装保留在3.x-ish。我从来没有这样做过,所以我,但我得到的错误是这样的:使用CocoaPods保留旧版本的Firebase

[!] Unable to satisfy the following requirements: 

- `Firebase/RemoteConfig (= 1.3.4)` required by `Podfile` 
- `Firebase/RemoteConfig (= 1.3.4)` required by `Podfile` 

None of your spec sources contain a spec satisfying the dependency: `Firebase/RemoteConfig (= 1.3.4)`. 

You have either: 
* out-of-date source repos which you can update with `pod repo update` or with `pod install --repo-update`. 
* mistyped the name or version. 
* not added the source repo that hosts the Podspec to your Podfile. 

Note: as of CocoaPods 1.0, `pod repo update` does not happen on `pod install` by default. 

这是我想在我的podfile冻结方式:

pod 'Firebase/Database', '3.1.2' 
pod 'Firebase/Auth', '3.1.1' 
pod 'Firebase/RemoteConfig', '1.3.4' 
pod 'Firebase/Messaging', '1.2.3' 

顺便说一句我试图pod repo update到徒劳无功。

回答

0

这个固定:

pod 'Firebase/Database', '<4' 
pod 'Firebase/Auth', '<4' 
pod 'Firebase/RemoteConfig', '<4' 
pod 'Firebase/Messaging', '<4' 
+0

权利 - 对subspecs有火力地堡吊舱的版本,而不是特定的依赖吊舱的版本 –

相关问题