Skip to content

Commit cc43ea1

Browse files
robert-walliskchibisov
authored andcommitted
macOS: fix runtime crash on macos26 "type code 'q', but found 'Q'"
Fixes #4299.
1 parent 911fad0 commit cc43ea1

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ ndk = { version = "0.9.0", default-features = false }
119119
[target.'cfg(any(target_os = "ios", target_os = "macos"))'.dependencies]
120120
block2 = "0.5.1"
121121
core-foundation = "0.9.3"
122-
objc2 = "0.5.2"
122+
objc2 = { version = "0.5.2", features = ["relax-sign-encoding"] }
123123

124124
[target.'cfg(target_os = "macos")'.dependencies]
125125
core-graphics = "0.23.1"

src/changelog/unreleased.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,7 @@ The migration guide could reference other migration examples in the current
3939
changelog entry.
4040

4141
## Unreleased
42+
43+
### Fixed
44+
45+
- On macOS, fix crash on macOS 26 by using objc2's `relax-sign-encoding` feature.

0 commit comments

Comments
 (0)