Skip to content
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

iOS bitcode support #6

Closed
1 task
repi opened this issue Apr 1, 2019 · 2 comments
Closed
1 task

iOS bitcode support #6

repi opened this issue Apr 1, 2019 · 2 comments

Comments

@repi
Copy link
Contributor

repi commented Apr 1, 2019

Bitcode generation is required today for tvOS and watchOS, and may be required by iOS in the future? Could be faster also as one doesn't have to build for multiple targets.

This is still rather speculative and low priority at this time for us

@repi
Copy link
Contributor Author

repi commented Sep 19, 2019

This repo maintains Xcode-compatible bitcode support for iOS:
https://github.com/getditto/rust-bitcode

In standard releases of Rust, the bitcode in ARM64 iOS targets is often incompatible with Xcode because they use different versions of LLVM. This is a known issue with no clear long-term solution yet.

This repository contains scripts for building and installing a custom Rust nightly toolchain where the Rust compiler's version of LLVM matches Xcode. Software built using this toolchain can be included in bitcode-enabled apps that will install on real iOS devices.

Binary releases of the toolchain will be created periodically and attached to this repository, at least until there is a better upstream solution.

This repository is maintained by Ditto. We use it ourselves and want to share it for the benefit of the Rust iOS community!

@EmbarkStudios EmbarkStudios deleted a comment from adals Sep 19, 2019
@repi
Copy link
Contributor Author

repi commented Aug 13, 2020

Closing this for now, iOS is not a target for us due to the heavy app store restrictions and incompatible TOS

@repi repi closed this as completed Aug 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant