-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
Hermes failed to work #43082
Comments
|
This is happening on 0.72.10 as well. This is the output when I run "cd ios && bundle exec pod install":
/Users/privateuser/Downloads/AwesomeProject2/vendor/bundle/ruby/3.3.0/gems/activesupport-7.0.8/lib/active_support/core_ext/big_decimal/conversions.rb:3: warning: bigdecimal was loaded from the standard library, but will no longer be part of the default gems since Ruby 3.4.0. Add bigdecimal to your Gemfile or gemspec. Also contact author of activesupport-7.0.8 to add bigdecimal into its gemspec. [!] Please close any current Xcode sessions and use [!] hermes-engine has added 2 script phases. Please inspect before executing a build. See |
I added the following:
into the Build Phase of the hermes-engines in Pods project settings. This is what the script for "[CP-User] [RN] [1] Build Hermesc" looks like now:
Build logs show "it is not set or is empty", which means this CMAKE is a requirement for this thing to work. I am surprised this is not mentioned anywhere. Is there some compatibility issues between the versions or is some instruction missing here? To resolve this issue, 'brew install cmake', 'where cmake', copy the path and replace the above export to After the above 'fix', it now progresses and says ".../node_modules/react-native/ReactCommon/hermes/inspector/InspectorState.cpp:225:40: No member named 'AsyncTrigger' in 'facebook::hermes::debugger::PauseReason'". Still trying to figure this out. No issue at all with Android build. |
Created a new 0.72.4 project, which is supposed to have a tag to a fixed commit for hermes-engine as per Podfile.lock: Pod install shows: And I am getting the following:
|
Tried latest 0.73.4, also getting error. In Pods: [Hermes] Using the latest commit from main. Showing Recent Issues /Users/user/Downloads/AwesomeProject4/node_modules/react-native/ReactCommon/hermes/inspector-modern/InspectorState.cpp:366:33: No member named 'AsyncTrigger' in 'facebook::hermes::debugger::PauseReason' Is there a tool versioning issue here? Including Gemfile.lock:
And Podfile.lock:
|
No issues with 0.71.x. Not sure if it is a bug with React Native or Hermes because during the
|
We can close this issue now it as it is determined (in #43241) to be non-200 http error causing it to go to source instead of using the release artifact on 0.72.x and above. |
It's already mentioned in Gemfile but please make sure you're using |
Description
When building iOS, it gives the following 2 build errors:
Build target hermes-engine:
...[CP-User] [RN] [1] Build Hermesc
Failed to configure Hermesc cmake project.
Build target React-rncore:
...[CP-User] Generate Specs
Turning off the flag in Podfile works fine and is able to build. In the repo, it is still hermes.
Steps to reproduce
React Native Version
0.72.9
Affected Platforms
Runtime - iOS, Build - MacOS
Output of
npx react-native info
Stacktrace or Logs
Reproducer
https://github.com/CyberMew/improved-octo-broccoli
Screenshots and Videos
No response
The text was updated successfully, but these errors were encountered: