Library not loaded: @rpath/hermes.framework/hermes on iOS
See original GitHub issueDescription
As soon as the app starts, it crashes.
Version
0.70.0
Output of npx react-native info
System:
OS: macOS 12.5.1
CPU: (8) x64 Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
Memory: 299.79 MB / 16.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 16.16.0 - ~/.nvm/versions/node/v16.16.0/bin/node
Yarn: 1.22.10 - /usr/local/bin/yarn
npm: 8.11.0 - ~/.nvm/versions/node/v16.16.0/bin/npm
Watchman: 2022.02.14.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: Not Found
IDEs:
Android Studio: 4.1 AI-201.8743.12.41.6953283
Xcode: 13.4.1/13F100 - /usr/bin/xcodebuild
Languages:
Java: 11.0.16 - /Library/Java/JavaVirtualMachines/jdk-11.0.16.jdk/Contents/Home/bin/javac
npmPackages:
@react-native-community/cli: 8.0.4 => 8.0.4
react: 18.2.0 => 18.2.0
react-native: 0.70.0 => 0.70.0
react-native-macos: Not Found
npmGlobalPackages:
*react-native*: Not Found
Steps to reproduce
Just launch npx react-native run-ios --simulator "iPhone 12"
with hermes_enabled => true
Snack, code example, screenshot, or link to a repository
none
Issue Analytics
- State:
- Created a year ago
- Reactions:6
- Comments:17
Top Results From Across the Web
9 - Stack Overflow
This error means that your react-native project is set to use hermes a lightweight Javascript engine created by facebook specially for react- ...
Read more >dyld: Library not loaded: @rpath/s… | Apple Developer Forums
I'm working on a Swift project (Swift 2.1) that references multiple objective c projects and frameworks written in objective c. The problem actually...
Read more >I have enabled Hermes in my react-native(v0 ... - appsloveworld
Everytime I run app I get following stack trace. dyld: dyld cache load error: shared cache file open() failed dyld: Library not loaded:...
Read more >Using Hermes - React Native
If you are using a non-standard way of loading the JS bundle, it is possible that the HermesInternal variable is available but you...
Read more >iOS -App Crash on Launch dyld: Library not loaded, Reason
This error is likely happening because the framework contains builds meant for the iOS simulator. Since you can't upload to the App Store...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes in xCode you will need to Embed & Sign hermes framework and then build again using command. It will work.
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.