dpogue commented on PR #1515: URL: https://github.com/apache/cordova-ios/pull/1515#issuecomment-2846548701
Regarding the `nospm` attribute on `<pod>` tags in plugin.xml: * if `<platform name="ios">` and `<pod ...>` * **install** * if `<platform name="ios" package="swift">` and `<pod ...>`: * **install** * if `<platform name="ios" package="swift">` and `<pod nospm="false" ...>`: * **install** * if `<platform name="ios" package="swift">` and `<pod nospm="true" ...>`: * _skip_ * if `<platform name="ios">` and `<pod nospm="true" ...>`: * **install** (the attribute is ignored if `package="swift"` is no specified on the platform) This behaves like the `nomodule` option on `<script>` tags in HTML (except it's XML, so we can't use a true boolean attribute). A boolean string `"true"` means that the pod should **not** be installed when the project supports Swift packages (but should be installed in older projects), `"false"` (or no attribute at all) means it should always be installed. This provides a mechanism for plugins to transition their pod dependencies to SwiftPM dependencies while retaining backwards compatibility with older cordova-ios versions. -- 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-unsubscr...@cordova.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org