Plugin
Applies to all plugins
Use case
Since initial introduction of Swift Package Manager support more than a year ago (#3152) there were changes that require additional changes in the Package.swift file of all packages. Otherwise, there are the followign errors during iOS/MacOS build:
ERROR: Plugin package_info_plus has a Package.swift for ios but is missing a dependency on FlutterFramework. Add the following to your Package.swift dependencies:
.package(name: "FlutterFramework", path: "../FlutterFramework")
And add FlutterFramework as a target dependency:
.product(name: "FlutterFramework", package: "FlutterFramework")
See https://docs.flutter.dev/packages-and-plugins/swift-package-manager/for-plugin-authors for more information.
Proposal
Add missing lines to all plugins to get rid of errors during build with Flutter 3.44.x which uses SPM by default.
Plugin
Applies to all plugins
Use case
Since initial introduction of Swift Package Manager support more than a year ago (#3152) there were changes that require additional changes in the
Package.swiftfile of all packages. Otherwise, there are the followign errors during iOS/MacOS build:Proposal
Add missing lines to all plugins to get rid of errors during build with Flutter 3.44.x which uses SPM by default.