0

I have a Flutter app and I need to publish a new release. The upload used to work with no issues with the previous version of Flutter sdk.

To upload the ipa I run:

xcrun altool --upload-app --type ios -f ./path_to_my.ipa --apiKey *** --apiIssuer ***

This is the response

*** Error: Error uploading 'path_to_my.ipa'.
*** Error: Invalid Bundle. The bundle Runner.app/Frameworks/App.framework does not support the minimum OS Version specified in the Info.plist. With error code STATE_ERROR.VALIDATION_ERROR.90208 for id ... Asset validation failed (-19208)
 {
    NSLocalizedDescription = "Invalid Bundle. The bundle Runner.app/Frameworks/App.framework does not support the minimum OS Version specified in the Info.plist. With error code STATE_ERROR.VALIDATION_ERROR.90208 for id ...";
    NSLocalizedFailureReason = "Asset validation failed";
}

This is my env

- Flutter (Channel stable, 3.3.0, on macOS 12.2.1 21D62 darwin-x64, locale it-IT)
- Android toolchain - develop for Android devices (Android SDK version 30.0.3)
- Xcode - develop for iOS and macOS (Xcode 13.2.1)
- Android Studio (version 2021.2)

I already tried setting the minimum deployment target to 10.0 everywhere:

  • Runner -> Runner -> General -> Deployment info: Target
  • Runner -> Runner -> info.plist
  • Runner -> Flutter -> AppFrameworkInfo.plist

Any suggestion?

Davide Bicego
  • 562
  • 2
  • 6
  • 24

2 Answers2

3

As per flutter doc, Flutter has enforced the minimum plugin version of 11 in flutter version 3.3

For more, read Flutter 3.3. Release notes

Sujan Gainju
  • 4,273
  • 2
  • 14
  • 34
1

I don't if this will work but it worked for me.

But what basically is wrong is App Framework is mismatching the min OS version originally given to it.

Check this Github issue link: Here

After doing that, run

flutter clean flutter pub get cd ios pod install or pod update

Hope it works fine for you.

Bobby
  • 76
  • 1
  • 7