FireBase Cocoa Pods Installation funktioniert nicht

Ich versuche, Firebase über Cocoa Pods für meine Objective-C iOS-Anwendung zu installieren. Mein Podfile ist wie folgt:

target 'RandomName' do

pod 'Firebase/Core'
pod 'Firebase/AdMob'

end

Wenn ich rennepod install, Ich erhalte den folgenden Fehler:

[!] Unable to satisfy the following requirements:

- `Firebase/Core` required by `Podfile`

None of your spec sources contain a spec satisfying the dependency: `Firebase/Core`.

You have either:
 * out-of-date source repos which you can update with `pod 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.

Die neueste Version von Cocoa Pods ist installiert, und ich habe versucht, das Pod-Repo-Update auszuführen. Mit einem Podfile der folgenden funktioniert gut, aber wenn ich versuche,@import Firebase; In meiner AppDelegate.m-Datei kann Xcode das Modul nicht finden.

target 'RandomName' do

pod 'Firebase'

end

Die folgende Kombination wird jedoch nicht installiert:

target 'RandomName' do

pod 'Firebase'
pod 'Firebase/AdMob'

end

Jede Hilfe wäre dankbar!

Antworten auf die Frage(18)

Ihre Antwort auf die Frage