The Bevy iOS ecosystem dropped Swift packages from its crates, replacing hand-written bridges (Swift C symbols, Objective-C wrappers, swift-bridge) with objc2 generated bindings. Installation is now simplified to just cargo add, eliminating SPM setup, version synchronization issues, CI framework builds, and simulator build problems.
Background
Bevy is a popular data-driven Rust game engine. Its iOS support relied on multiple custom FFI bridges to wrap Apple frameworks, creating significant maintenance overhead. The objc2 project provides generated Rust bindings for Objective-C frameworks via dynamic runtime introspection.
- Source
- Lobsters
- Published
- Sep 28, 2026 at 07:22 AM
- Score
- 7.0 / 10