8
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Invalid Bundle. The bundle xxxxxx.app/Frameworks/App.framework does not support the minimum OS Version specified in the Info.plist.の対処方法

Posted at

FlutterアプリをApp Store Connectにアップロードするときにエラーが出た。

Xcode(バージョンVersion 11.6 (11E708))でビルド後、ProductArchiveValidate Appで下記のエラーが出たときの対応方法。

【エラー】 Invalid Bundle. The bundle yourapp.app/Frameworks/App.framework does not support the minimum OS Version specified in the Info.plist.

image.png

ios/Flutter/AppFrameworkInfo.plistMinimumOSVersionを13に変更する。

ios/Flutter/AppFrameworkInfo.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
  <key>CFBundleDevelopmentRegion</key>
  <string>$(DEVELOPMENT_LANGUAGE)</string>
  <key>CFBundleExecutable</key>
  <string>App</string>
  <key>CFBundleIdentifier</key>
  <string>io.flutter.flutter.app</string>
  <key>CFBundleInfoDictionaryVersion</key>
  <string>6.0</string>
  <key>CFBundleName</key>
  <string>App</string>
  <key>CFBundlePackageType</key>
  <string>FMWK</string>
  <key>CFBundleShortVersionString</key>
  <string>1.0</string>
  <key>CFBundleSignature</key>
  <string>????</string>
  <key>CFBundleVersion</key>
  <string>1.0</string>
  <key>MinimumOSVersion</key>
  <string>13.0</string> ## ここを8から13に変更した。
</dict>
</plist>

終わりに

iOSもandroidの開発もやったことない人がFlutterやるときに一番困るのがアプリの申請だと思う。
エラーが出ても何言ってるか分からない。同じようなファイルたくさんあるし。

なるべく遭遇したエラーは書いていこうと思う。

8
3
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
8
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?