-
Notifications
You must be signed in to change notification settings - Fork 30
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] Can't build a new project for dev #128
Comments
Hey, are you running latest version of cmake? Can you also try the latest version of react native visionOS (0.73.7)? |
Hmm I updated both of those and ran into another issue
At one point it did build with no errors, just when a simulator was not selected, just a Generic Vision Pro device. I have a feeling I might have messed up some XCode setting. |
I'm hitting the same problem... CMake - 3.28.3 Adding |
Aha! I have it compiling, disabled hermes from pods and removed the framework in Xcode.. |
@josh-deprogram Thanks, also got it running by disabling Hermes for now 👍 |
@josh-deprogram Thanks, I had disable hermes in root ios and visionos podfile and it start working. |
Can you guys try out RC release? https://github.com/callstack/react-native-visionos/releases/tag/v0.74.0-rc.0-visionos |
@15bedirhan Do you have the latest version of cmake? (3.29.0 or 3.28.4)? |
Yes my cmake version is 3.29.0. For now I continue disabled hermes in visionos/podfile. It works after that |
Okay I did some investigation together with @thiagobrez, looks like it's |
Workaround for now:
|
The fix is coming: facebook/hermes#1358 |
I'm disabling Hermes by default until the above PR gets merged. If you still want to use Hermes remove |
upstream PR merged, so this can be revisited for the next release of react-native-visionos |
Hey, This issue should now be resolved in React Native 0.74.3. Backport to 0.73.x will be available once this PR get's merged: facebook/hermes#1432 |
For others who may also experience this error, we also came across this issue while using CMake version 3.28.0, recommended in the README.md. Commenting out Hermes / Adding libReact-hermes.a didn't work for us. @okwasniewski if it helps, I can submit a PR to update the README and also the docs repo. And thanks for all your work, great stuff. |
It would be great if you could create a PR, I forgot to update it. |
Description
Was having issues with my build so I created a brand new one and tried to run it and getting the same error:
Stacktrace or Logs
Reproducer
none
Screenshots and Videos
No response
The text was updated successfully, but these errors were encountered: