LoginSignup
0
0

More than 1 year has passed since last update.

cloud firestoreをインストールしたらxcode buildが終わらなくなって…のエラー

Posted at

はじめに

・他の記事でも取り扱われ、散々擦られた題材だが、どのファイルに記載していいかわからなかったので、備忘録として残しておく。

エラーの内容

Error: CocoaPods's specs repository is too out-of-date to satisfy dependencies.
To update the CocoaPods specs, run:
pod repo update
Error running pod install
Error launching application on iPhone 13.

対処法

ios/Podfile

target 'Runner' do
 use_frameworks!
 use_modular_headers!
 // 以下の行を追記する
 pod 'FirebaseFirestore', :git => 'https://github.com/invertase/firestore-ios-sdk-frameworks.git', :tag => '6.33.0'
 flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
end
brew upgrade cocoapods
cd ios
pod install --repo-update
flutter clean

参考文献

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0