Skip to content

Commit a17ce1d

Browse files
committed
Fix iOS simulator build
By updating to dependency versions that don't depend on bindgen.
1 parent c549b9e commit a17ce1d

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

crates/bevy_audio/Cargo.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,18 @@ bevy_transform = { path = "../bevy_transform", version = "0.16.0-dev" }
1919
bevy_derive = { path = "../bevy_derive", version = "0.16.0-dev" }
2020

2121
# other
22+
# TODO: Remove `coreaudio-sys` dep below when updating `cpal`.
2223
rodio = { version = "0.20", default-features = false }
2324
tracing = { version = "0.1", default-features = false, features = ["std"] }
2425

2526
[target.'cfg(target_os = "android")'.dependencies]
2627
cpal = { version = "0.15", optional = true }
2728

29+
[target.'cfg(target_vendor = "apple")'.dependencies]
30+
# NOTE: Explicitly depend on this patch version to fix:
31+
# https://github.com/bevyengine/bevy/issues/18893
32+
coreaudio-sys = { version = "0.2.17", default-features = false }
33+
2834
[target.'cfg(target_arch = "wasm32")'.dependencies]
2935
# TODO: Assuming all wasm builds are for the browser. Require `no_std` support to break assumption.
3036
rodio = { version = "0.20", default-features = false, features = [

crates/bevy_log/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ bevy_app = { path = "../bevy_app", version = "0.16.0-dev", default-features = fa
4545
] }
4646

4747
[target.'cfg(target_os = "ios")'.dependencies]
48-
tracing-oslog = "0.2"
48+
tracing-oslog = "0.3"
4949

5050
[lints]
5151
workspace = true

0 commit comments

Comments
 (0)