Closed wonhee-jeong closed 2 weeks ago
The iOS build scrips in the Hermes directory are outdated and unmaintained. We should just delete them.
Thank you for the kind explanation. That was just an example script.
What is the correct/recommended way to build ios framework if those scripts under utils are no longer relevant?
Thanks a lot! P.S. What'd be the option for those who want to build and use Hermes as a standalone artifact?
@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