mirror of
https://github.com/bevyengine/bevy
synced 2025-02-17 06:28:34 +00:00
# Objective - iOS CI has linker issues https://github.com/bevyengine/bevy/runs/4388921574?check_suite_focus=true ## Solution - Building for iOS actually requires ~~both iOS SDK for target and~~ macOS SDK for build scripts. ~~I added them both when needed~~ I replaced the iOS SDK with the maOS. This was not an issue on m1 as they are compatible enough to make the build pass. - This completely confused `shader-sys` which fails to build in this configuration. Luckily as the example now uses the new renderer, I was able to remove the old renderer and depend no more on this lib. This is confirmed to work: - on intel mac with simulator - on m1 mac with simulator - on m1 mac with real iphone
25 lines
484 B
TOML
25 lines
484 B
TOML
[package]
|
|
name = "bevy-ios-example"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
description = "Example for building an iOS app with Bevy"
|
|
publish = false
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
[lib]
|
|
name = "bevy_ios_example"
|
|
crate-type = ["staticlib"]
|
|
|
|
[dependencies]
|
|
bevy = { path = "../../", features = [
|
|
"bevy_audio",
|
|
"bevy_core_pipeline",
|
|
"bevy_gltf2",
|
|
"bevy_sprite2",
|
|
"bevy_render2",
|
|
"bevy_pbr2",
|
|
"bevy_winit",
|
|
"mp3",
|
|
"x11",
|
|
"filesystem_watcher"
|
|
], default-features = false}
|