Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Hermes not available on iOS when use_frameworks enabled (#3491)
## Description When there are frameworks used and Hermes enabled in the Podfile of your project, RN falls back to JSC in debug mode and crashes in production mode. This PR makes it possible to use Hermes when there is `use_frameworks!` enabled in the Podfile. Thanks @Kudo who originally fixed this issue in ReactNative repository: facebook/react-native#34222 ## Changes Added path to `Framework Search Paths` in Podspec of react-native-reanimated. ## Test code and steps to reproduce 1. Create empty ReactNative project 2. Add react-native-reanimated dependency. 3. For ReactNative 0.69.3 apply patch from: https://github.com/facebook/react-native/pull/34222/files 4. Enable frameworks in Podfile: `use_frameworks! :linkage => :static` 5. Build project in debug mode -> you will not see `engine: hermes` in top right corner. 6. Build project in release mode -> app will crash at startup ## Checklist - [ ] Included code example that can be used to test this change - [ ] Updated TS types - [ ] Added TS types tests - [ ] Added unit / integration tests - [ ] Updated documentation - [ ] Ensured that CI passes
- Loading branch information