Search code examples
iosreact-nativevisual-studio-codereact-hookscross-platform

React Native 'Termination Reason: DYLD 1 Library missing' issue


During the building of react native project. The app launched on the simulator, but after that getting a issue like this 'Termination Reason: DYLD 1 Library missing' also attached the screenshot for the issue.enter image description here


Solution

  • Happened with me when I was working on react-native 0.70.0.

    Follow these steps to fix that:

    1. Open XCode. Select Your Project > Your App from Targets > Build Phases > Link Binary With Libraries > Click on the + symbol and add the following:
    • hermes.xcframework
    • React-hermes (libReact-hermes.a)
    1. Click on Product > Clean Build Folder
    2. Now Build your Folder again.

    Your App should work fine now.