Uploading flutter app to AppStore gives App.framework does not support the minimum OS Version specified in the Info.plist

前端 未结 4 1311
夕颜
夕颜 2020-12-20 11:40

I have successfully generated .ipa for app store connect but when Uploading to App Store Connect from XCode in the validation phase I am getting this error ERROR ITMS-

相关标签:
4条回答
  • 2020-12-20 11:49

    I had the same problem. To fix, I did this steps:

    1. Flutter clean
    2. Change files AppFrameworkInfo.plist (/ios/Flutter/AppFrameworkInfo.plist) and Info.plist (/ios/Flutter/Flutter.Framework/Info.plist)
    3. Put version 9.0 on code <key>MinimumOSVersion</key> <string>9.0</string>

    Than I run flutter build ios --release

    0 讨论(0)
  • 2020-12-20 11:51

    This error arises because, currently Minimum OS Version is 9.0

    To fix this, you do not need to do much more, just follow the steps given below to change Minimum OS Version.

    1. Clean your project by

      flutter clean
      
    2. In Xcode, open Runner.xcworkspace in your app’s ios folder.

    3. To Change MinimumOSVersion Select Runner > Flutter -> AppFrameworkInfo.plist

      <key>MinimumOSVersion</key>
      <string>9.0</string>
      
    4. To Change iOS Deployment Target, select the Runner project in the Xcode project navigator. Then, in the main view sidebar, select the Project Runner -> Info -> iOS Deployment Target to 9.0

    1. And finally your project ready to good to go

    Info : The minimum operating system version required for the app to run on iOS, tvOS, and watchOS. The App Store uses this key to indicate the OS releases on which your app can run.

    0 讨论(0)
  • 2020-12-20 11:57

    Step-1: Open your Flutter project in XCode

    Step-2: Change minimum OS version like this for your project:

    Step-3: Change minimum OS version like this for Flutter Framework

    Step-4: Archive and Publish your app.

    0 讨论(0)
  • 2020-12-20 12:08

    I am able to solve this by specifying minimumOsVersion in myApp.app/Frameworks/App.framework's info.plist file (Please make sure that it is not the global info.plist file it is generated after creating the build)

    0 讨论(0)
提交回复
热议问题