Skip to content

[Question]: SPM support #1069

@leonluc-dev

Description

@leonluc-dev

How can we help?

Recently CocoaPods has entered maintenance mode and recommend people migrate to Swift Package Manager. Capacitor has support for SPM as well these days.

I'm trying to migrate to SPM as well for my capacitor project, but the onesignal plugin is preventing me from doing so.

[fatal] [Error: ENOENT: no such file or directory, open '/Users/builduser/Desktop/SPMTestApp/ios/capacitor-cordova-ios-plugins/sources/OnesignalCordovaPlugin/Package.swift'] {
  errno: -2,
  code: 'ENOENT',
  syscall: 'open',
  path: '/Users/builduser/Desktop/SPMTestApp/ios/capacitor-cordova-ios-plugins/sources/OnesignalCordovaPlugin/Package.swift'
}

Are there any plans to support SPM packages for this plugin?

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions