Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion versioned_docs/version-v7/main/ios/spm.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ This tool will do the following changes:
- Add the following required things to your main swift plugin file, `[Name]Plugin.swift`:
- Add Conformance to the `CAPBridgedPlugin` protocol to your class.
- Add 3 variables to your class. `identifier`, `jsName`, and `pluginMethods`:
- `identifer` will correspond to the first argument to the `CAP_PLUGIN` macro.
- `identifier` will correspond to the first argument to the `CAP_PLUGIN` macro.
- `jsName` will correspond to the second argument to the `CAP_PLUGIN` macro.
- `pluginMethods` will be an array of the methods passed to the `CAP_PLUGIN` macro.
- A `Package.swift` file will be created at the root of your plugin folder.
Expand Down