You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "GitToTheHub (via GitHub)" <gi...@apache.org> on 2026/02/23 16:18:40 UTC
[PR] doc(plugin.xml): add `package` attribute for `` [cordova-docs]
GitToTheHub opened a new pull request, #1475:
URL: https://github.com/apache/cordova-docs/pull/1475
- cordova-ios 8 introduced support for the Swift Package Manager (SPM) which must be configured by the `package` attribute of the `platform` tag
- Added link to the iOS Plugin Development Guide linking to `Supporting Swift Package Manager (SPM)` section
<!--
Please make sure the checklist boxes are all checked before submitting the PR. The checklist is intended as a quick reference, for complete details please see our Contributor Guidelines:
https://cordova.apache.org/contribute/contribute_guidelines.html
Thanks!
-->
### Platforms affected
### Motivation and Context
<!-- Why is this change required? What problem does it solve? -->
<!-- If it fixes an open issue, please link to the issue here. -->
### Description
<!-- Describe your changes in detail -->
### Testing
<!-- Please describe in detail how you tested your changes. -->
### Checklist
- [ ] I've run the tests to see all new and existing tests pass
- [ ] I added automated test coverage as appropriate for this change
- [ ] Commit is prefixed with `(platform)` if this change only applies to one platform (e.g. `(android)`)
- [ ] If this Pull Request resolves an issue, I linked to the issue in the text above (and used the correct [keyword to close issues using keywords](https://help.github.com/articles/closing-issues-using-keywords/))
- [ ] I've updated the documentation if necessary
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org
Re: [PR] doc(plugin.xml): add `package` attribute for `` [cordova-docs]
Posted by "GitToTheHub (via GitHub)" <gi...@apache.org>.
GitToTheHub merged PR #1475:
URL: https://github.com/apache/cordova-docs/pull/1475
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org
Re: [PR] doc(plugin.xml): add `package` attribute for `` [cordova-docs]
Posted by "GitToTheHub (via GitHub)" <gi...@apache.org>.
GitToTheHub commented on PR #1475:
URL: https://github.com/apache/cordova-docs/pull/1475#issuecomment-3952144165
Makes sense
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org
Re: [PR] doc(plugin.xml): add `package` attribute for `` [cordova-docs]
Posted by "dpogue (via GitHub)" <gi...@apache.org>.
dpogue commented on code in PR #1475:
URL: https://github.com/apache/cordova-docs/pull/1475#discussion_r2842722007
##########
www/docs/en/latest/plugin_ref/spec.md:
##########
@@ -246,6 +246,7 @@ Identifies platforms that have associated native code or require modifications t
Attributes | Description
---------------- | ------------
name<br />{% cdv_vartype string %}| *Required* <br/> Allowed values: ios, android, browser, electron <br/> Identifies a platform as supported, associating the element's children with that platform.
+package<br />{% cdv_vartype string %} {% cdv_platform ios %}| Allowed value: swift<br/>Starting from cordova-ios 8 and greater, support for the Swift Package Manager (SPM) has been implemented. To start using SPM with your plugin, a `Package.swift` file will need to be created in the plugin's root directory and add the `package="swift"` attribute to the iOS `platform` element. See for more information: [Supporting Swift Package Manager (SPM)](../guide/platforms/ios/plugin.html#supporting-swift-package-manager-spm).
Review Comment:
```suggestion
package<br />{% cdv_vartype string %} {% cdv_platform ios %}| Allowed value: swift<br/>Starting from cordova-ios 8, support for the Swift Package Manager (SPM) has been implemented. To start using SPM with your plugin, a `Package.swift` file will need to be created in the plugin's root directory and add the `package="swift"` attribute to the iOS `platform` element. See for more information: [Supporting Swift Package Manager (SPM)](../guide/platforms/ios/plugin.html#supporting-swift-package-manager-spm).
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org