0
FirebaseをCocoapods 1.1.1経由でXcodeファイルにインポートしようとしています。私のポッドファイルはこのように見えます。Cocoapods経由でXcodeプロジェクトにFirebaseをインストールできない
# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'
target 'Firebase Login' do
# Comment the next line if you're not using Swift and don't want to use dynamic frameworks
use_frameworks!
# Pods for Firebase Login
pod 'Firebase', '~> 3.11'
target 'Firebase LoginTests' do
inherit! :search_paths
pod 'Firebase'
end
target 'Firebase LoginUITests' do
inherit! :search_paths
# Pods for testing
end
end
私もこれを試してみました。その後
# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'
target 'Firebase Login' do
# Comment the next line if you're not using Swift and don't want to use dynamic frameworks
use_frameworks!
# Pods for Firebase Login
target 'Firebase LoginTests' do
inherit! :search_paths
pod 'Firebase'
end
target 'Firebase LoginUITests' do
inherit! :search_paths
# Pods for testing
end
end
、私は自分の端末でポッドをインストール型付けされた、これは私が得たものです。
Analyzing dependencies
[!] Unable to find a specification for `FirebaseAnalytics (= 3.6.0)` depended upon by `Firebase/Core`
これは私が間違って行っているものですかそれはFirebase自体のバグですか?それが私なら、誰かがこの問題を解決するのを助けることができたら、私は感謝しています。
のようになります、それはあなたが逃した場合、私は、コードの私の最初の作品で何をしたかであること...私もFirebase /認証およびFirebase /データベースを追加しようとしたが、それです"Firebase/Database"に依存している 'FirebaseDatabase(= 3.1.1)'の仕様を見つけることができませんでしたあなたが発見した間違いはありますか? –
あなたのPodfile.lockファイルとPodsフォルダを削除し、ポッドファイルをリコールします。 –
何らかの理由で端末が私のPodの仕様を見つけることができないため、Podfile.lockファイルがありません。私も更新しようとしましたが、明らかに1.1.1が利用可能な最新のCocoapodsです... –