Skip to content

Investigate Swift Package Manager for Swift plugins #33850

@stuartmorgan-g

Description

@stuartmorgan-g

Since Swift has a 'first-party' package manager in the form of Swift Package Manager, it would be interesting to evaluate whether we could use that, instead of CocoaPods, for Swift plugins. That would allow for gradual migration away from CocoaPods over time assuming plugin development eventually shifts toward Swift, rather than having to do an expensive, ecosystem-breaking one-time migration.

According to docs, SPM packages can contain C/ObjC/C++/ObjC++ code, which substantially mitigates the bootstrapping problem; given that people could presumably make SPM packages that wrap existing non-Swift libraries for use in Swift plugins.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work lista: existing-appsIntegration with existing apps via the add-to-app flowc: new featureNothing broken; request for a new capabilitycustomer: crowdAffects or could affect many people, though not necessarily a specific customer.platform-iosiOS applications specificallyplatform-macBuilding on or for macOS specificallyteam-iosOwned by iOS platform teamtoolAffects the "flutter" command-line tool. See also t: labels.triaged-iosTriaged by iOS platform team

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions