・pod install;コマンド入力すると下記のエラーが表示されます。
【手順】
1:cd ディレクトリ移動
2:pod setup;
3:pod install;
【エラー内容】
[!] CocoaPods could not find compatible versions for pod "Firebase/Core":
In Podfile:
Firebase/Core (= X.X.X)
None of your spec sources contain a spec satisfying the dependency: Firebase/Core (= X.X.X)
.
You have either:
- out-of-date source repos which you can update with
pod repo update
or withpod 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 repo update;コマンド入力
結果:Updating local specs repositories
②pod install --repo-update;
エラー内容と同じ内容がかえってくる。
③pod repo remove master;
pod setup;
pod install;
④Xcode閉じる / Clean
⑤pod cache clean --all;
【追記】
Xcode側のエラー
diff: /Podfile.lock: No such file or directory
diff: /Manifest.lock: No such file or directory
error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.
回答2件
あなたの回答
tips
プレビュー