native-audio
native-audio copied to clipboard
SPM Support for Capacitor 6+
Describe the bug
Trying to use the plugin in a CapacitorJS app with Swift Package Manager fails.
To Reproduce
- Create a new app with CapacitorJS using SPM for dependencies.
- Install the native-audio package.
- 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)