-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
macOS M1 building for iOS Simulator, but linking in object file built for iOS, for architecture arm64
#58
Comments
I noticed a similar error on Intel Mac too, XCode 13.2.1:
I've tried excluding This is only on Simulator builds, a normal attached device works fine. |
I'm facing an issue that I think might be related.
I think it should be building arm instead of x86_64, idk what's going on. |
For anyone following this - I've figured out how to get cargo-mobile working on M1 macs. I'd be happy to get some help on getting both x86 and aarch64 working in the same fork of cargo-moble. |
I can't seem to build for the simulator using the template generated for macOS m1.
I tried to change the
x86_64
target toaarch64
but then ran into:building for iOS Simulator, but linking in object file built for iOS, for architecture arm64
I haven't quite figured out the right way of getting things to build, but at the very least, the template is busted for m1.
As an aside: thank you for doing all this work. It's pretty amazing. Happy holidays!
The text was updated successfully, but these errors were encountered: