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.
Description
CocoaPods 1.9.3 has bugs related to XCFrameworks and doesn't build for add-to-app for the simulator on top of #71495. 1.9.3 works for non-add-to-app projects.
Essentially, it sets up the search paths incorrectly and includes both
ios-armv7_arm64
andios-x86_64-simulator
.That works out on ARM builds because
ios-armv7_arm64/Flutter.framework
is found first, but fails on the simulator.https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket.appspot.com/8862069565374960560/+/steps/run_build_ios_framework_module_test/0/stdout
I'll add an add-to-apps doc note that CocoaPods 1.10 is required. Hopefully #71170 can land soon, which will mark 1.10 as the recommended version.
Related Issues
Failures at #71495
flutter/website#5034