-
Notifications
You must be signed in to change notification settings - Fork 276
docs: SPM Migration Docs #411
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added a few comments.
Also in the Troubleshooting section or in a new "Caveats" section, we should mention the current SPM limitations like DEBUG
/CapacitorBridge.isDevEnvironment
or WebView inspection not working
@@ -59,7 +59,45 @@ Then let's sync the web app. This will add the App plugin SPM to the iOS project | |||
|
|||
You can now use the App plugin normally. | |||
|
|||
<em>More details coming soon</em> | |||
## Using SPM in an existing Capacitor Project | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think a first section could mention the possibility of removing ios
folder and adding it back with npx cap add ios --packagemanager SPM
in case the user didn't do any custom changes to the project, since that's the "easiest" migration and requires no manual steps.
|
||
When you are done, you should see a screen like this. At this point you're done and can build and work as normal: | ||
|
||
 | ||
|
||
### Converting existing plugins to SPM |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The ticket also mentioned
Converting existing plugins to SPM
- this section says "more coming soon"; it should probably be filled out
But this section is unchanged, should be updated too
Co-authored-by: jcesarmobile <[email protected]>
closes ionic-team/capacitor#7861