mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
This pull request is created by [automatic cherry pick workflow](https://github.com/flutter/flutter/blob/main/docs/releases/Flutter-Cherrypick-Process.md#automatically-creates-a-cherry-pick-request) Please fill in the form below, and a flutter domain expert will evaluate this cherry pick request. ### Issue Link: What is the link to the issue this cherry-pick is addressing? https://github.com/flutter/flutter/pull/156758#event-14687226898 ### Changelog Description: Explain this cherry pick in one line that is accessible to most Flutter developers. See [best practices](https://github.com/flutter/flutter/blob/main/docs/releases/Hotfix-Documentation-Best-Practices.md) for examples CocoaPods does not work properly with Xcode 16 currently, so this change adds a warning to the tool to provide a work around. ### Impact Description: What is the impact (ex. visual jank on Samsung phones, app crash, cannot ship an iOS app)? Does it impact development (ex. flutter doctor crashes when Android Studio is installed), or the shipping production app (the app crashes on launch) None. ### Workaround: Is there a workaround for this issue? This change adds a warning to the tool which links to workaround steps ### Risk: What is the risk level of this cherry-pick? ### Test Coverage: Are you confident that your fix is well-tested by automated tests? ### Validation Steps: What are the steps to validate that this fix works? - Use latest version of Flutter stable channel (Dart 3.5.3, Flutter 3.24.3) with latest CocoaPods (1.15.2) and Xcode 16. - Clone **flutter/packages** repo and cd into a plugin that have support for macOS but doesn't have native UI/Unit tests. https://github.com/flutter/packages/tree/main/packages/image_picker/image_picker_macos/example/macos is an example. - Run `pod install` in the example macOS app or run the Flutter app directly with `flutter run -d macos`. - Follow the steps in https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-xctests-or-xcuitests to enable **XCTests** or **XCUITests**. - Run the Unit test directly in Xcode, works as expected. - Run `pod install`. - An error should pop up with a workaround linking to https://github.com/flutter/flutter/issues/156733#issuecomment-2415359014