Skip to content

feat: Add Swift Package Manager (SPM) support for iOS #6796

@Mohammad-amleh

Description

@Mohammad-amleh

Feature Request

CocoaPods will become permanently read-only on December 2, 2026 (see CocoaPods announcement).
Flutter has introduced Swift Package Manager as a replacement, available since Flutter 3.24+
via flutter config --enable-swift-package-manager.

When SPM is enabled, Flutter checks each plugin for a Package.swift file in its ios/ or
darwin/ directory. Plugins without Package.swift fall back to CocoaPods.

Currently, amplify_auth_cognito and amplify_secure_storage do not have Package.swift files,
so they are the only Amplify plugins that still require CocoaPods on iOS.

Additional context

Environment

  • Flutter: 3.38.9 (stable)
  • amplify_flutter: ^2.6.0
  • amplify_auth_cognito: ^2.6.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestA request for a new feature or an enhancement to an existing API or category.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions