Обновление стручков Cocoapods Firebase - PullRequest
0 голосов
/ 20 февраля 2019

Доброе утро, у меня проблема с обновлением моего модуля Firebase / Analytics и Firebase / Core.

Мой Podfile:

source 'https://github.com/CocoaPods/Specs.git'
source 'https://github.com/CocoaPods/Specs'
platform :ios, '10.0'

target 'Unity-iPhone' do
pod 'Firebase/Analytics', '5.15.0'
pod 'Firebase/Core', '5.15.0'
pod 'Firebase/Messaging', '5.1.0'
pod 'GoogleAppMeasurement', '5.3.0'
pod 'Google-Mobile-Ads-SDK', '~> 7.0'
end

, если я запускаю pod install, я получаю следующеевывод

Analyzing dependencies

[!] CocoaPods could not find compatible versions for pod "Firebase/Analytics":
  In Podfile:
    Firebase/Analytics (= 5.15.0)

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

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.

с pod outdated: imagepod outdated">

, поэтому я запускаю pod update: imagepod update">

Но «Firebase / Analytics» остается в версии 5.1.0. Где я ошибаюсь?я уже несколько раз пытался установить мастер репо, а также gem

1 Ответ

0 голосов
/ 20 февраля 2019

Как говорится в сообщении, сначала вы должны сделать pod repo update, а затем pod update.Надеюсь, это поможет.

Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...