Open stijnfrishert opened 3 weeks ago
@FabianLars I'm yet unfamiliar with the Tauri internals, but if you could point me in the right direction I'm willing to try my hand at a PR :)
I haven't tried it on the release build, but for the dev build, I think the easiest way to embed the framework now is using pnpm tauri ios open
to open the project in Xcode and add the framework from it.
Thanks, @pewsheen, didn't know that was possible, so I learned something. 😄
Decided to go the PR route and learn something about Tauri's internals. Hopefully someone will pick up the PR soon and help me with some remaining questions. :)
Describe the bug
I'm using a Rust crate that depends on coreaudio-rs. For this work work on macOS/iOS, I need to link against the CoreAudio framework.
I'm building for iOS (using the v2 beta) and the linker tells me it's missing core audio symbols.
I've tried setting
bundle > iOS > frameworks
to[ "CoreAudio" ]
intauri.conf.json
, but I get an error that the"frameworks"
property is not allowed.I've also tried setting the same on
bundle > macOS > frameworks
, but that doesn't help. Neither do I see--framework CoreAudio
show up in the linker command.Expected behavior
I would expect
bundle > iOS > framework
to be valid and insert the frameworks into the linker commandFull
tauri info
output