react-native: hermes (no such file) Thread 1: signal SIGABRT React Native 0.70.0
Description
I am getting error: Thread 1: signal SIGABRT
Reason: tried: ‘/Users/jerryseigle/Library/Developer/Xcode/DerivedData/myapp-briprcnqfundzsbvbxvlwpcvulms/Build/Products/Debug-iphonesimulator/hermes.framework/hermes’ (no such file), ‘/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/swift/hermes.framework/hermes’ (no such file), ‘/usr/lib/swift/hermes.framework/hermes’ (no such file), ‘/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/swift/hermes.framework/hermes’ (no such file), ‘/usr/lib/swift/hermes.framework/hermes’ (no such file), '/Users/jerryseigle/Lib
Version
0.70.0
Output of npx react-native info
System: OS: macOS 12.4 CPU: (8) x64 Intel® Core™ i5-1038NG7 CPU @ 2.00GHz Memory: 105.40 MB / 16.00 GB Shell: 5.8.1 - /bin/zsh Binaries: Node: 18.8.0 - /usr/local/bin/node Yarn: 1.22.17 - ~/.yarn/bin/yarn npm: 8.18.0 - /usr/local/bin/npm Watchman: 2022.02.07.00 - /usr/local/bin/watchman Managers: CocoaPods: 1.11.3 - /usr/local/bin/pod SDKs: iOS SDK: Platforms: DriverKit 21.4, iOS 15.5, macOS 12.3, tvOS 15.4, watchOS 8.5 Android SDK: API Levels: 23, 28, 29, 30, 31 Build Tools: 30.0.2 System Images: android-29 | Google Play Intel x86 Atom, android-30 | Google APIs Intel x86 Atom_64 Android NDK: Not Found IDEs: Android Studio: 2021.1 AI-211.7628.21.2111.8193401 Xcode: 13.4.1/13F100 - /usr/bin/xcodebuild Languages: Java: 11.0.11 - /usr/bin/javac npmPackages: @react-native-community/cli: Not Found react: 18.1.0 => 18.1.0 react-native: 0.70.0 => 0.70.0 react-native-macos: Not Found npmGlobalPackages: react-native: Not Found
Steps to reproduce
yarn ios
Snack, code example, screenshot, or link to a repository
none. React Native 0.70.0 will not build
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 10
- Comments: 15
I solved it by adding hermes.xcframework file to
xcode > build phases > Link binary with Libraries
just press to + sign and search for hermes
Add it and rebuild your app.
How to deal with no “hermes” found? Hmm
Saaaaaame
I have same issue when init new project , app just crash right after open
I just deleted pods folder and installed pods again fixed my issue.
I have the same issue, in GitHub action macos-12.
We also use
bundle,bundle install,cd ios && bundle exec pod install, we also useruby 2.7.5, nothing we tried work. React Native 0.68.5, any clue how we can do ?Please check you Podfile, it should have hermes enabled to true.
Try #34608
I upgraded my node to 18 and still doesnt work on me
Got to work after disabling hermes and done with fresh build. My Podfile:
BUT if you want to use new 0.70.0 RN features - i have no idea how to get this work