Skip to content

Commit ddd9517

Browse files
authored
feat: document nospm attribute for pod tag (#1481)
- `nospm` was introduced in cordova-ios 8 by PR apache/cordova-ios#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.
1 parent f6c22db commit ddd9517

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • www/docs/en/latest/plugin_ref

www/docs/en/latest/plugin_ref/spec.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -551,6 +551,7 @@ Attributes(type) | Description
551551
---------------- | ------------
552552
name<br />{% cdv_vartype string %} | *Required*<br/> Pod name
553553
spec<br />{% cdv_vartype string %} | Pod spec
554+
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.
554555
swift-version<br />{% cdv_vartype string %} | Specify swift version of the CocoaPods library
555556
git<br />{% cdv_vartype string %} | Pod `git` option.
556557
branch<br />{% cdv_vartype string %} | Pod `branch` option.

0 commit comments

Comments
 (0)