Skip to content

[Feature] Add Swift Package Manager (SPM) support for iOS #160

@alihassan143

Description

@alihassan143
Original Content

Flutter 3.44 now by default support SPM kindly add swift package manager support


Description

Flutter 3.44 now defaults to Swift Package Manager (SPM) for iOS dependency management. The flutter_inapp_purchase plugin currently lacks SPM support, which may cause integration issues or warnings for projects using Flutter 3.44+.

Use Case

  • Flutter 3.44 enables SPM by default, meaning new and existing projects will attempt to resolve iOS dependencies via SPM.
  • Without SPM support in flutter_inapp_purchase, developers may encounter build failures, compatibility warnings, or be forced to opt out of SPM entirely.

References

Proposed Solution

Add a Package.swift manifest to the plugin's iOS directory to support Swift Package Manager, following the Flutter SPM plugin authoring guide.

Additional Context

  • Flutter version: 3.44+
  • Platform: iOS
  • This is a common requirement now being requested across many Flutter plugins as SPM becomes the default.

🤖 Formatted by gitdog.dev

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions