GitHub user GitToTheHub created a discussion: iOS Plugin using Swift Package 
Manager: Set cordova-ios as dependency by master branch?

Hi,

when I [read the 
instructions](https://cordova.apache.org/docs/en/latest/guide/platforms/ios/plugin.html#creating-spms-packageswift-file)
 to create a `Package.swift` file for a plugin, I see that `cordova-ios` should 
be added by pointing to the master branch:

```swift
dependencies: [
    // This must be included as a dependency, with this format for it to work.
    .package(url: "https://github.com/apache/cordova-ios.git";, branch: "master")
],
```

Does this not bring any erros, when a Cordova App points to a specific 
cordova-ios version by e.g. `cordova platform add [email protected]`?

GitHub link: https://github.com/apache/cordova/discussions/583

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to