You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
❯ cargo build
Compiling cacao v0.2.1
error[E0599]: no function or associated item named `wrap` found for struct `NSString<'_>` in the current scope
--> /Users/ej/.cargo/registry/src/github.com-1ecc6299db9ec823/cacao-0.2.1/src/user_notifications/mod.rs:29:55
|
29 | let localized_description = NSString::wrap(msg_send![error, localizedDescription]);
| ^^^^ function or associated item not found in `NSString<'_>`
|
::: /Users/ej/.cargo/registry/src/github.com-1ecc6299db9ec823/cacao-0.2.1/src/foundation/string.rs:19:1
|
19 | pub struct NSString<'a> {
| ----------------------- function or associated item `wrap` not found for this
For more information about this error, try `rustc --explain E0599`.
error: could not compile `cacao` due to previous error
I am on a M1 Macbook Pro (2021, 14-inch) running MacOS Monterey using stable-aarch64-apple-darwin. stable-x86_64-apple-darwin produces the same result.
The text was updated successfully, but these errors were encountered:
Yup, there’s an open issue for that already. I just threw their change into the new branch, need to merge and release at some point here.
Also note that this requires signing your code for notifications to work - if you can’t or don’t want to do that then rust notify supports the older API.
Compiling below (
cargo build
):leads to the following errors:
I am on a M1 Macbook Pro (2021, 14-inch) running MacOS Monterey using stable-aarch64-apple-darwin. stable-x86_64-apple-darwin produces the same result.
The text was updated successfully, but these errors were encountered: