File tree Expand file tree Collapse file tree 1 file changed +18
-1
lines changed
Expand file tree Collapse file tree 1 file changed +18
-1
lines changed Original file line number Diff line number Diff line change 66This package builds a binary cap2spm that allows for the following:
77
88- To read Plugin.m and Plugin.h files and modify your Plugin.swift file to allow them to be removed
9- - ** COMING SOON: ** you will be able to generate a Package.swift for your plugin to be useable with Capacitor SPM
9+ - Generate a Package.swift for your plugin to be useable with Capacitor SPM
1010
1111The easiest way to install is via curl:
1212```
1313curl -OL https://github.com/ionic-team/capacitor-plugin-converter/releases/latest/download/cap2spm.zip
1414```
1515
16+ ```
17+ USAGE: cap2-spm [--backup] [--no-backup] [--objc-header <objc-header>] [--objc-file <objc-file>] [--swift-file <swift-file>] <plugin-directory>
18+
19+ ARGUMENTS:
20+ <plugin-directory> Plugin Directory
21+
22+ OPTIONS:
23+ --backup/--no-backup Should we make a backup? (default: --backup)
24+ --objc-header <objc-header>
25+ Objective-C header for file containing CAP_PLUGIN
26+ macro
27+ --objc-file <objc-file> Objective-C file containing CAP_PLUGIN macro
28+ --swift-file <swift-file>
29+ Swift file containing class inheriting from CAPPlugin
30+ -h, --help Show help information.
31+ ```
32+
1633
1734> [ !WARNING]
1835> The binary in releases is currently not signed. If you download from a browser, you will have to run the following
You can’t perform that action at this time.
0 commit comments