1 # aarch64-apple-ios-sim
5 Apple iOS Simulator on ARM64.
7 ## Designated Developers
9 * [@badboy](https://github.com/badboy)
10 * [@deg4uss3r](https://github.com/deg4uss3r)
14 This target is cross-compiled.
15 To build this target Xcode 12 or higher on macOS is required.
19 The target can be built by enabling it for a `rustc` build:
24 target = ["aarch64-apple-ios-sim"]
29 This target can be cross-compiled from `x86_64` or `aarch64` macOS hosts.
31 Other hosts are not supported for cross-compilation, but might work when also providing the required Xcode SDK.
35 Currently there is no support to run the rustc test suite for this target.
38 ## Building Rust programs
40 *Note: Building for this target requires the corresponding iOS SDK, as provided by Xcode 12+.*
42 From Rust Nightly 1.56.0 (2021-08-03) on the artifacts are shipped pre-compiled:
45 rustup target add aarch64-apple-ios-sim --toolchain nightly
48 Rust programs can be built for that target:
51 rustc --target aarch64-apple-ios-sim your-code.rs
54 There is no easy way to run simple programs in the iOS simulator.
55 Static library builds can be embedded into iOS applications.