Skip to content

[Bug]: Update Capacitor docs to describe how to update existing projects to SPM #7861

@ptmkenny

Description

@ptmkenny

Capacitor Version

7

Other API Details

Platforms Affected

  • iOS
  • Android
  • Web

Current Behavior

The Capacitor 7 announcement promotes SPM instead of Cocoapods and notes that Cocoapods are deprecated.. In addition to all the official plugins, many third-party plugins now support SPM.

However, it seems the actual Capacitor SPM docs have not been updated since Capacitor 6, and the documentation is lacking some important info:

  • How to migrate from Cocoapods to SPM for an existing project (the docs only have Using SPM in a new Capacitor project)
  • Converting existing plugins to SPM- this section says "more coming soon"; it should probably be filled out

Expected Behavior

I expect the docs to describe how to migrate existing projects and how to convert plugins.

Project Reproduction

https://github.com/ionic-team/capacitor/issues?q=is%3Aissue%20state%3Aopen%20migrate

Additional Information

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions