From 0b67684c83e1556a4663bf7f4bf891a2849ca411 Mon Sep 17 00:00:00 2001 From: Manuel Beck Date: Wed, 25 Feb 2026 14:36:06 +0100 Subject: [PATCH] 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
{% cdv_vartype string %} | *Required*
Pod name spec
{% cdv_vartype string %} | Pod spec +nospm
{% 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.
`true`: 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.
Introduced in cordova-ios 8. swift-version
{% cdv_vartype string %} | Specify swift version of the CocoaPods library git
{% cdv_vartype string %} | Pod `git` option. branch
{% cdv_vartype string %} | Pod `branch` option.