Closed ivanmladek closed 2 months ago
which host platform are you on? I doubt that this will work (cross-compile) from any other host than arm64 Mac.
But on arm64 Mac it should definitely work, it's now built in the CI too https://github.com/filipw/strathweb-phi-engine/blob/main/.github/workflows/ci.yml#L49-L68
Thank you, it is Mac arm 64. Will check the CI
Try checking rustup show
and make sure the targets are there.
Then check which cargo
and which rustup
to make sure they are really the same.
Maybe you have two conflicting Rust installations. Here is a similar issue where the user had brew installed Rust.
The simplest approach is to make sure you only have a single installation, installed via rustup.
The ./build-xcframework.sh throws weird errors even though the
rustup target add aarch64-apple-ios
rustup target add aarch64-apple-ios-sim
andrustup target add aarch64-apple-darwin
were all added