chinedufn / swift-bridge

swift-bridge facilitates Rust and Swift interop.
https://chinedufn.github.io/swift-bridge
Apache License 2.0
842 stars 62 forks source link

Building for Release #249

Closed lockieluke closed 9 months ago

lockieluke commented 10 months ago

I tried building with --release and it came back with Symbol not found: XXX when I try to run my app with the release library linked to it, is there any way to properly build a release library?

chinedufn commented 10 months ago

It should be possible to build and link to a release library today.

Can you share a GitHub link to a minimal reproducible example project?

lockieluke commented 10 months ago

I sent you the repo via email as it is a closed source project at the moment

bes commented 9 months ago

Could it be the same as this issue https://github.com/chinedufn/swift-bridge/issues/166 ?

chinedufn commented 9 months ago

I sent you the repo via email as it is a closed source project at the moment

It ended up in my spam folder. But, in the future, would prefer a minimal reproduction that I can look at before downloading so that I don't have to download code before reading it.


Could it be the same as this issue https://github.com/chinedufn/swift-bridge/issues/166 ?

Ahhh nice!

@lockieluke here's how to solve it. Should be pretty easy if you want to -> https://github.com/chinedufn/swift-bridge/issues/166#issuecomment-1428821701

chinedufn commented 9 months ago

Closing in favor of https://github.com/chinedufn/swift-bridge/issues/166