0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Error: The plugin "cloud_firestore" requires a higher minimum iOS deployment version than your application is targeting.解決法

Posted at

はじめに

Flutter × Firebaseの初期設定は頻繁にする作業じゃないので、何かとよく忘れがちです。。。

久々にfirebaseを導入する部分をやったら

Error: The plugin "cloud_firestore" requires a higher minimum iOS deployment version than your application is targeting. To build, increase your application's deployment target to at least 13.0 as described at https://docs.flutter.dev/deployment/ios Error running pod install Error launching application on iPhone SE (3rd generation).

☝️のエラーでビルド失敗したので、、またやってしまったと思いながら記録します。

Podfileを編集

デフォルトではコメントになってる部分をコメントじゃなくして、エラーのメッセージ通り13.0を指定します。

ios/Podfile
# Uncomment this line to define a global platform for your project
platform :ios, '13.0'

XcodeでMinimum deploymentsを編集

ios/Runner.xcworkspaceからxcodeを開き、generalからMinimum deploymentsを編集します。

Screenshot 2024-10-05 at 19.39.50.png

参考

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?