-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
swift package doesn't support macOS, watchOS etc... #367
Comments
Our bdk-swift swift package does include MacOS (M1 and x86), plus the iOS (including M1 and x86 simulator). For watchOS support, it looks like it has tier 3 support for rust (https://github.com/rust-lang/rust/blob/master/src/doc/rustc/src/platform-support/apple-watchos.md) so we might be able to support it. |
I noticed also you're using Mac Catalyst, is any available swift package supposed to work with it? I haven't used it before. |
It looks like there may be some additional xcframework packaging voodoo to get them to work with Catalyst: |
I made a simple test MacOS app, added package bdk-swift 0.28, imported it and used a couple BDK functions and it worked fine for me. Note I did not try to use Catalyst. |
As notmandatory mentioned everything works for a macOS app, but Mac Catalyst has some interesting nuances to get it working for a framework like bdk-swift; but I think we can make this happen or at least I'd like to try it out with something like adding this in our workflows (bdk-ffi + bdk-swift): name: "Install Rust targets"
name: "Build bdk-ffi for all targets"
name: "Create universal binary for Mac Catalyst"
... and so on. @cedricloneux do you still have a need for Mac Catalyst support? |
I am working on a cross-platform app that should work on all Apple's systems. iOS, macOS, watchOS
When I tried to run the Mac app, I was blocked by this error message saying that the package is not compatible.
Would it be possible to fix that issue and support all platforms?
The text was updated successfully, but these errors were encountered: