-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Open
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work lista: buildBuilding flutter applications with the toolBuilding flutter applications with the toolc: new featureNothing broken; request for a new capabilityNothing broken; request for a new capabilityfound in release: 3.35Found to occur in 3.35Found to occur in 3.35found in release: 3.37Found to occur in 3.37Found to occur in 3.37has reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onplatform-iosiOS applications specificallyiOS applications specificallyteam-iosOwned by iOS platform teamOwned by iOS platform teamtoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.triaged-iosTriaged by iOS platform teamTriaged by iOS platform team
Description
Description:
When building with Flutter 3.35.3 (stable) and Xcode 15+, App Store Connect rejects archives with the following error:
Invalid Bundle. The bundle Runner.app/Frameworks/App.framework does not support the minimum OS Version specified in the Info.plist.
Steps to reproduce:
- Create a new Flutter app with Flutter 3.35.3
- Set
iOS Deployment Targetin Xcode Runner target to 16.0 (the lowest selectable in Xcode 15) - Build for release:
flutter build ios --release - Inspect the generated framework:
otool -l build/ios/Release-iphoneos/Runner.app/Frameworks/App.framework/App | grep -A 3 LC_BUILD_VERSION
Observed output:
cmd LC_BUILD_VERSION
platform iOS
minos 13.0
sdk 18.0
Expected output:
minos 15.0 (or higher, matching the app’s deployment target)
Notes:
- Firebase iOS SDKs now require iOS ≥15.0.
- Xcode 15 no longer allows setting a deployment target below 15.0.
- This results in an unavoidable mismatch: Runner target ≧15 vs App.framework 13.0.
- Apple rejects the archive.
Workarounds tried:
- Cleaning, re-running
flutter precache --ios --force, rebuilding → still13.0. - Manually patching
AppFrameworkInfo.plistinside the archive lets the upload pass, but this is not sustainable.
Request:
Please update the iOS engine build configs so that App.framework is built with --minimum_ios_version=15.0 (or higher) to align with Apple’s toolchain and Firebase’s requirements.
alex-medinsh, Divyansh1908 and thanhle1547
Metadata
Metadata
Assignees
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work lista: buildBuilding flutter applications with the toolBuilding flutter applications with the toolc: new featureNothing broken; request for a new capabilityNothing broken; request for a new capabilityfound in release: 3.35Found to occur in 3.35Found to occur in 3.35found in release: 3.37Found to occur in 3.37Found to occur in 3.37has reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onplatform-iosiOS applications specificallyiOS applications specificallyteam-iosOwned by iOS platform teamOwned by iOS platform teamtoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.triaged-iosTriaged by iOS platform teamTriaged by iOS platform team