native-audio icon indicating copy to clipboard operation
native-audio copied to clipboard

SPM Support for Capacitor 6+

Open abegehr opened this issue 8 months ago • 0 comments

Describe the bug

Trying to use the plugin in a CapacitorJS app with Swift Package Manager fails.

To Reproduce

  1. Create a new app with CapacitorJS using SPM for dependencies.
  2. Install the native-audio package.
  3. Run, and fails.

Expected behavior

I expect it to work with SPM.

Additional Context

Xcode fails to resolve packages via SPM:

Showing Recent Messages the package manifest at '/Users/anton/local/repos/wamoments/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@capacitor-community/native-audio/Package.swift' cannot be accessed (/Users/anton/local/repos/wamoments/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@capacitor-community/native-audio/Package.swift doesn't exist in file system)

abegehr avatar Feb 27 '25 05:02 abegehr