♨️
App.framework does not support the minimum~が出た時の対応
Flutterを最新版(1.22)にアップグレード(flutter upgrade)した後に、App Store Connectにアップロードしようとしたら、
App.framework does not support the minimum OS Version specified in the Info.plist
とエラーが出てアップロードできなかったので、下記手順で対応しました。
ビルドキャッシュの削除
まずビルドキャッシュを削除します。
$ flutter clean
MinimumOSVersionを9.0に変更
/ios/Flutter/AppframeworkInfo.plist
のMinimumOSVersion
を9.0に変更します。
iOS Deployment Targetを9.0に変更
PROJECTの変更
PROJECTのRunner -> Info -> ▼ Deployment Target -> iOS Deployment Target
を9.0に変更します。
TARGETSの変更
TARGETSのGeneral -> ▼ Deployment Info
のiOSバージョンを9.0に変更します。
参考
https://github.com/flutter/flutter/issues/58200#issuecomment-675085313
Discussion