13
8

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.

何もしてないのに ERROR ITMS-90208 が出てデプロイできなくなったとき

Posted at

現象

  • ビルド自体は通る
  • 既存のFlutterアプリをTestFlightに飛ばそうとしたら次のエラーが出る。
ERROR ITMS-90208: "Invalid Bundle. The bundle Runner.app/Frameworks/App.framework does not support the minimum OS Version specified in the Info.plist."

何もしていないが、もしかすると関係があるかもしれない行為

  • flutter upgrade
  • iOS Deployment Target12.4に変更した ← どうみてもこれ

環境

[✓] Flutter (Channel dev, 1.22.0-1.0.pre, on Mac OS X 10.15.5 19F101, locale ja-JP) 
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 11.6)
[✓] Android Studio (version 4.0)
[✓] VS Code (version 1.48.0)
[✓] Connected device (2 available)

対策

  • {FlutterアプリのRoot}/ios/AppFrameworkInfo.plistiOS Deployment Targetと同じ値(12.4)に変更
  • {FlutterアプリのRoot}/ios/Flutter/App.framework一度削除してから、もう一度フルビルド
$ cd your-nice-flutter-app

# MinimumOSVersionを書き換えて
$ code ios/AppFrameworkInfo.plist

$ rm -rf ios/Flutter/App.framework
$ flutter clean
$ flutter build ios --release #link時にApp.frameworkが作り直される
$ cd ios

# ご安全にデプロイ!
$ fastlane beta

推測

  • iOS Deployment Targetのバージョンを変更したときに、App.framework/Info.plistMinimumOSVersionが追従していないっぽい?

結論

  • 動けばいいんだよガハハハ
13
8
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
13
8

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?