-
Notifications
You must be signed in to change notification settings - Fork 3
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
Compile Errors #3
Comments
Maybe related to this issue? mozilla/uniffi-rs#2108 |
Fixes rust-nostr/nostr-sdk-swift#3 Signed-off-by: Yuki Kishimoto <[email protected]>
Fixes rust-nostr/nostr-sdk-swift#3 Signed-off-by: Yuki Kishimoto <[email protected]>
I don't think, because I'm not using nested errors in bindings. I opened a PR with a possible fix here: rust-nostr/nostr#633 Later, instead of use the package from the git repo, point it to If it works, I'll publish the fix. |
Fixes rust-nostr/nostr-sdk-swift#3 Signed-off-by: Yuki Kishimoto <[email protected]>
I still got same error |
Fixes rust-nostr/nostr-sdk-swift#3 Signed-off-by: Yuki Kishimoto <[email protected]>
Removing the `nostr_sdk` arg from `uniffi::setup_scaffolding` caused issues with Swift Bindings, so revert commit 64c592a Fixes rust-nostr/nostr-sdk-swift#3 Signed-off-by: Yuki Kishimoto <[email protected]>
Removing the `nostr_sdk` arg from `uniffi::setup_scaffolding` caused issues with Swift Bindings, so revert commit 64c592a Fixes rust-nostr/nostr-sdk-swift#3 Signed-off-by: Yuki Kishimoto <[email protected]>
Removing the `nostr_sdk` arg from `uniffi::setup_scaffolding` caused issues with Swift Bindings, so revert commit 64c592a Fixes rust-nostr/nostr-sdk-swift#3 Signed-off-by: Yuki Kishimoto <[email protected]>
Removing the `nostr_sdk` arg from `uniffi::setup_scaffolding` caused issues with Swift Bindings, so revert commit 64c592a Fixes rust-nostr/nostr-sdk-swift#3 Signed-off-by: Yuki Kishimoto <[email protected]>
Removing the `nostr_sdk` arg from `uniffi::setup_scaffolding` caused issues with Swift Bindings, so revert commit 64c592a Fixes rust-nostr/nostr-sdk-swift#3 Signed-off-by: Yuki Kishimoto <[email protected]>
Removing the `nostr_sdk` arg from `uniffi::setup_scaffolding` caused issues with Swift Bindings, so revert commit 64c592a Fixes rust-nostr/nostr-sdk-swift#3 Signed-off-by: Yuki Kishimoto <[email protected]>
Removing the `nostr_sdk` arg from `uniffi::setup_scaffolding` caused issues with Swift Bindings, so revert commit 64c592a Fixes rust-nostr/nostr-sdk-swift#3 Signed-off-by: Yuki Kishimoto <[email protected]>
Removing the `nostr_sdk` arg from `uniffi::setup_scaffolding` caused issues with Swift Bindings, so revert commit 64c592a Fixes rust-nostr/nostr-sdk-swift#3 Signed-off-by: Yuki Kishimoto <[email protected]>
I think the issue should be fixed. At least, the previous error is no longer returned in the CI, now it return linking errors when running Can you let me know if now works? The |
Hi, this issue is fixed. I will add Example for Nostr Swift soon |
Maybe I found the issue: the |
Removing the `nostr_sdk` arg from `uniffi::setup_scaffolding` caused issues with Swift Bindings, so revert commit 64c592a Fixes rust-nostr/nostr-sdk-swift#3 Signed-off-by: Yuki Kishimoto <[email protected]>
I pushed the fix. The CI still fail, but hope the "UniFFI API checksum mismatch" error is fixed. |
Removing the `nostr_sdk` arg from `uniffi::setup_scaffolding` caused issues with Swift Bindings, so revert commit 64c592a Fixes rust-nostr/nostr-sdk-swift#3 Signed-off-by: Yuki Kishimoto <[email protected]>
Removing the `nostr_sdk` arg from `uniffi::setup_scaffolding` caused issues with Swift Bindings, so revert commit 64c592a Fixes rust-nostr/nostr-sdk-swift#3 Signed-off-by: Yuki Kishimoto <[email protected]>
Removing the `nostr_sdk` arg from `uniffi::setup_scaffolding` caused issues with Swift Bindings, so revert commit 64c592a Fixes rust-nostr/nostr-sdk-swift#3 Signed-off-by: Yuki Kishimoto <[email protected]>
Removing the `nostr_sdk` arg from `uniffi::setup_scaffolding` caused issues with Swift Bindings, so revert commit 64c592a Fixes rust-nostr/nostr-sdk-swift#3 Signed-off-by: Yuki Kishimoto <[email protected]>
I've finally fixed all the CI issues. I can now see the "Uniffi API checksum mismatch" error. It's weird that this happen only in Swift and not in Python or Kotlin. I opened an issue on the UniFFI repo: mozilla/uniffi-rs#2321 |
Removing the `nostr_sdk` arg from `uniffi::setup_scaffolding` caused issues with Swift Bindings, so revert commit 64c592a Fixes rust-nostr/nostr-sdk-swift#3 Signed-off-by: Yuki Kishimoto <[email protected]>
I've tried to use Nostr SDK in my SwiftUI app, but when compile, I've got a lot of errors
My simple code:
Init
Just get the nostr state
The text was updated successfully, but these errors were encountered: