MinimumOSVersion in `ios/Flutter/AppFrameworkInfo.plist` is auto removed when running on iOS, blocking App Store uploads
- Dominant language
- Dart
- Stars
- 179k
- Forks
- 31.1k
- PR merge metrics
- PR metrics pending
Description
### Steps to reproduce
1. Create a new Flutter project
2. Add this to `ios/Flutter/AppFrameworkInfo.plist`:
```
MinimumOSVersion
13.0
```
Without this, I get this error when uploading a release to App Store:
```
Validation failed (409)
Invalid MinimumOSVersion. Apps that only support 64-bit devices must specify a deployment target of 8.0 or later. MinimumOSVersion in 'Runner.app/Frameworks/App.framework' is ''.
```
3. Run on iOS and check `MinimumOSVersion` is auto-removed from that file.
This seems to be another case of https://github.com/flutter/flutter/issues/175334.
### Expected results
Don't remove it when it was explicitly added
### Actual results
`MinimumOSVersion` is auto-removed from that file, causing the loop of the fix.
### Code sample
Code sample
```dart
[Paste your code here]
```
### Screenshots or Video
Screenshots / Video demonstration
[Upload media here]
### Logs
Logs
```console
[Paste your logs here]
```
### Flutter Doctor output
Doctor output
```console
[✓] Flutter (Channel stable, 3.41.6, on macOS 26.0 25A354 darwin-arm64, locale en-US) [342ms]
• Flutter version 3.41.6 on channel stable at /Users/huym4/Documents/WORKING/SDK/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision db50e20168 (3 weeks ago), 2026-03-25 16:21:00 -0700
• Engine revision 425cfb54d0
• Dart version 3.11.4
• DevTools version 2.54.2
• Feature flags: enable-web, enable-linux-desktop, enable-macos-desktop, enable-windows-desktop, enable-android, enable-ios, cli-animations,
enable-native-assets, omit-legacy-version-file, enable-lldb-debugging, enable-uiscene-migration
[✓] Android toolchain - develop for Android devices (Android SDK version 36.0.0) [1,472ms]
• Android SDK at /Users/huym4/Library/Android/sdk
• Emulator version 36.4.9.0 (build_id 14788078) (CL:N/A)
• Platform android-36, build-tools 36.0.0
• ANDROID_HOME = /Users/huym4/Library/Android/sdk
• Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
This is the JDK bundled with the latest Android Studio installation on this machine.
To manually set the JDK path, use: `flutter config --jdk-dir="path/to/jdk"`.
• Java version OpenJDK Runtime Environment (build 21.0.8+-14196175-b1038.72)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 26.3) [842ms]
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 17C529
• CocoaPods version 1.16.2
[✓] Chrome - develop for the web [4ms]
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Connected device (3 available) [9.3s]
• Huy’s iPhone 15 Pro (mobile) • 00008130-001460A82612001C • ios • iOS 26.3.1 23D771330a
• macOS (desktop) • macos • darwin-arm64 • macOS 26.0 25A354 darwin-arm64
• Chrome (web) • chrome • web-javascript • Google Chrome 147.0.7727.56
[✓] Network resources [343ms]
• All expected network resources are available.
• No issues found!
```
Contributor guide
Assessment
This issue has not been assessed yet.