
The Flutter tool has a bug where removing the last Flutter plugin does not correctly update the CocoaPods integration. This adds a test to ensure that the generated Swift package is properly updated when the last Flutter plugin is removed. See: https://github.com/flutter/flutter/issues/11819#issuecomment-2289782626