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
iphoneos framework very large size issue (build-apple-framework.sh) #1353
Comments
The iOS build scrips in the Hermes directory are outdated and unmaintained. We should just delete them. |
Thank you for the kind explanation. |
What is the correct/recommended way to build ios framework if those scripts under utils are no longer relevant? |
Thanks a lot! |
@ZkGator Hermes uses CMake and can be built for any supported OS and likely for some unsupported ones. That hasn't changed. Check our CI scripts for examples. The only thing we are no longer doing is providing a packaged configuration script for iOS framework and a podspec, but those are available from React Native in the link above. |
Thanks! |
Problem
When building the iphoneos framework in the build-apple-framework.sh script, bitcode is enabled and the binary size is very large (more than 500MB).
Bitcode is disabled in scripts in the react native repository.
Solution
In build-apple-framework.sh, set -DHERMES_ENABLE_BITCODE:BOOLEAN=
false
The text was updated successfully, but these errors were encountered: