Home > Net >  CocoaPods could not find compatible versions for pod "Flutter": In Podfile: Flutter (from
CocoaPods could not find compatible versions for pod "Flutter": In Podfile: Flutter (from

Time:06-18

After upgrade to flutter 3.1, I can build and run for android but I got the following error for ios. May I know what is the reason for this issue?

Aungs-MBP:ios aungmyooo$ pod install
Analyzing dependencies
firebase_analytics: Using Firebase SDK version '8.15.0' defined in 'firebase_core'
firebase_core: Using Firebase SDK version '8.15.0' defined in 'firebase_core'
Warning: firebase_app_id_file.json file does not exist. This may cause issues in upload-symbols. If this error is unexpected, try running flutterfire configure again.
firebase_crashlytics: Using Firebase SDK version '8.15.0' defined in 'firebase_core'
firebase_messaging: Using Firebase SDK version '8.15.0' defined in 'firebase_core'
[!] CocoaPods could not find compatible versions for pod "Flutter":
  In Podfile:
    Flutter (from `Flutter`)

Specs satisfying the `Flutter (from `Flutter`)` dependency were found, but they required a higher minimum deployment target.

[✓] Flutter (Channel master, 3.1.0-0.0.pre.1279, on macOS 12.4 21F79 darwin-x64, locale en-GB) • Flutter version 3.1.0-0.0.pre.1279 at /Users/aungmyooo/Development/flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision ddeb0b99c5 (18 hours ago), 2022-06-16 13:53:23 -0700 • Engine revision f8c0dc87bc • Dart version 2.18.0 (build 2.18.0-189.0.dev) • DevTools version 2.14.0

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0) • Android SDK at /Users/aungmyooo/Library/Android/sdk • Platform android-32, build-tools 31.0.0 • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 11.0.11 0-b60-7590822) • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.4.1) • Xcode at /Applications/Xcode.app/Contents/Developer • CocoaPods version 1.11.3

[✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.1) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin can be installed from:

  • Related