You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ma...@apache.org on 2026/02/25 13:36:18 UTC

(cordova-docs) 01/01: feat: document `nospm` attribute for `pod` tag

This is an automated email from the ASF dual-hosted git repository.

manuelbeck pushed a commit to branch pr-ios-pod-nospm-plugin-xml
in repository https://gitbox.apache.org/repos/asf/cordova-docs.git

commit 0b67684c83e1556a4663bf7f4bf891a2849ca411
Author: Manuel Beck <ma...@outlook.de>
AuthorDate: Wed Feb 25 14:36:06 2026 +0100

    feat: document `nospm` attribute for `pod` tag
    
    - `nospm` was introduced in cordova-ios 8 by PR https://github.com/apache/cordova-ios/pull/1515 which introduced support for Swift Package Manger. `nospm` provides a mechanism for plugins to transition their pod dependencies to Swift Package Manager dependencies while retaining backwards compatibility with cordova-ios versions older than 8.
---
 www/docs/en/latest/plugin_ref/spec.md | 1 +
 1 file changed, 1 insertion(+)

diff --git a/www/docs/en/latest/plugin_ref/spec.md b/www/docs/en/latest/plugin_ref/spec.md
index 2d5f3bc424..be209e0d71 100644
--- a/www/docs/en/latest/plugin_ref/spec.md
+++ b/www/docs/en/latest/plugin_ref/spec.md
@@ -551,6 +551,7 @@ Attributes(type) | Description
 ---------------- | ------------
 name<br />{% cdv_vartype string %} | *Required*<br/> Pod name  
 spec<br />{% cdv_vartype string %} | Pod spec
+nospm<br />{% cdv_vartype boolean %} | Provides a mechanism for plugins to transition their pod dependencies to Swift Package Manager dependencies while retaining backwards compatibility with cordova-ios versions older than 8.<br/>`true`: The pod should not be installed when the project supports Swift packages, but should be installed in older projects<br/>`false` (or no attribute at all) means it should always be installed.<br/>Introduced in cordova-ios 8.
 swift-version<br />{% cdv_vartype string %} | Specify swift version of the CocoaPods library
 git<br />{% cdv_vartype string %} | Pod `git` option.
 branch<br />{% cdv_vartype string %} | Pod `branch` option.


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org