Repository navigation
ci: build the example with current Flutter and Xcode - #419
Merged
wang-bin merged 1 commit intoNov 15, 2026
Merged
Conversation
Three jobs fail on every PR now that the stable channel is Flutter 3.50: - Android (any): Flutter 3.50 requires Gradle 9.3.1 and AGP 9.1.1 (and its Gradle plugin calls AGP 9 APIs, so skipping the version check does not help). The example moves to Gradle 9.3.1, AGP 9.1.1 and Kotlin 2.3.20. AGP 9's optimized resource shrinking needs non-final resource IDs, so android.nonFinalResIds goes back to its default (true); nothing in the example or plugin relies on final IDs. The Flutter 3.22 job restores the AGP 8 toolchain in a step, since 3.22 predates AGP 9. - iOS / macOS: video_player_avfoundation 2.12.2+ calls AVAsset.load(_:isolation:), which the Xcode 16.4 on macos-15 lacks. Both jobs move to macos-26 (Xcode 26.6). Verified locally: the example builds a release APK on Flutter 3.50 with JDK 17.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Three Build jobs currently fail on every PR (#413, #417, #418), independent of their changes, because the stable channel is now Flutter 3.50 and macOS runners still default to Xcode 16.4.
Android (ubuntu, any)
Flutter 3.50 requires Gradle 9.3.1 and AGP 9.1.1, and its Gradle plugin calls AGP 9 APIs (
ApplicationExtension.getDefaultConfig()returningApplicationDefaultConfig), so--android-skip-build-dependency-validationdoes not help either.example/android: Gradle 9.3.1, AGP 9.1.1, Kotlin Gradle plugin 2.3.20.android.nonFinalResIds=true(AGP's default). AGP 9's R8 optimized resource shrinking fails with "Optimized resource shrinking requires non-final IDs" otherwise. Nothing in the example or the plugin switches onRids.3.22.xjob restores AGP 8.11.1 / Kotlin 2.2.20 / Gradle 8.14 in one step, since Flutter 3.22's Gradle plugin predates AGP 9.iOS and macOS
video_player_avfoundation2.12.2+ (Swift rewrite) callsAVAsset.load(_:isolation:), which the default Xcode 16.4 onmacos-15does not have. Both jobs move tomacos-26(default Xcode 26.6).Verified
The example builds a release APK locally on Flutter 3.50 with JDK 17. This PR's own Build run is the check for the iOS, macOS and Flutter 3.22 jobs.