AudioKit / .github

Default Github files
0 stars 1 forks source link

How to Import AudioKit to a Capacitor Plugin #1

Closed vycoder closed 9 months ago

vycoder commented 9 months ago

macOS Version(s) Used to Build

macOS 12 Monterey

Xcode Version(s)

Xcode 13.4, Xcode 13.0

Description

I'm fairly new to Swift develoment but I think I've exhausted every resource I can get. I've been trying for a week now and I'm hoping someone could point me in the right direction.

I'm working on a Capacitor iOS plugin that uses AudioKit. Following the installation instructions on the README file, it builds properly on it's own. The problem is when I use the plugin that that uses AudioKit on my Capacitor project. It can't seem to find AudioKit on build and says, Module AudioKit not found.

I've read somewhere that I should drag-and-drop the .framework directory on to my project but that seems like an outdated way of doing it. I've also tried doing a swift build -c release hoping to get it compiled along with the plugin to no avail, or there might be something else I'm missing.

The capacitor plugin is eventually built as a pod, and the pod is what gets included on the actual Capacitor project, I think that's mainly where the issue lies.

I've tried looking at the docs, but I can't seem to find anything related to it. I've found a few outdated articles on how to compile but that doesn't seem to work any longer.

Should I suppose to compile it first for it to work with my Capacitor plugin pod? Can someone point in the right direction?

Crash Logs, Screenshots or Other Attachments (if applicable)

No response

vycoder commented 9 months ago

Closing this issue. Posted on the wrong place. Apologies.