Skip to content

Conversation

@jcesarmobile
Copy link
Member

No description provided.

@vercel
Copy link

vercel bot commented Nov 11, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
capacitor-docs Ready Ready Preview Comment Nov 12, 2025 0:05am
Comment on lines +22 to +23
Capacitor CLI now creates iOS SPM projects as default.
While it doesn't affect existing apps, if you remove the `ios` folder and run `npx cap add ios` again, it will be created using the SPM template, if you want to use the CocoaPods template, run `npx cap add ios --packagemanager CocoaPods` instead.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While this is not related to the breaking change, wonder if we should link to the guide to migrate apps to SPM here, since it is now the default, and recommended.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If they remove the ios folder and run npx cap add ios (without --packagemanager CocoaPods) then they don't need to migrate, they will be migrated automatically, so I don't think we need to link the guide.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah but if they have specific configurations on their iOS app (like specific properties on Info.plist), those would be removed.

Could be picked up by source control (if the project is in source control), but removing ios folder and re-adding it feels error prone no?


## Breaking changes in Capacitor config file

`appendUserAgent` had a bug on iOS that appended two whitespaces before appending the user agent and has been fixed. If you want to prevent the user agent change, add an extra whitespace on `ios.appendUserAgent`. Don't do it on the root `appendUserAgent` as it will also add the whitespace on Android.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are these just spaces, or other whitespace characters. We should probably say which. I think just regular old spaces, right?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a space or whitespace, the one that appears when you press the long bar on your keyboard, like this

Copy link
Member

@markemer markemer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Aside from a nitpick, I think we're ok. We can probably add the android breaking plugin changes later. (As in later today or tomorrow)

@jcesarmobile jcesarmobile merged commit 83750fe into main Nov 12, 2025
2 checks passed
@jcesarmobile jcesarmobile deleted the RMET-4572 branch November 12, 2025 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

5 participants