React Native 'Termination Reason: DYLD 1 Library missing' issue
Asked Answered
C

3

7

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

Contralto answered 7/9, 2022 at 9:4 Comment(0)
T
10

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.

Trilbi answered 8/9, 2022 at 16:3 Comment(1)
Thanks Dibyajyoti. This worked for me. It should be accepted answer.Bidle
M
0

I had the same issue after updating Xcode to the latest version. All I had to do is to delete the Pods folder and install pods again (by running pod install from the ios folder).

Alternatively, you can run this command from the ios directory:

pod cache clean --all && pod deintegrate && pod install --repo-update
Martinez answered 10/1 at 12:45 Comment(0)
Z
0

Updating the cocoapads to 1.14.3 resolved the issue for me.

brew upgrade cocoapods
brew link --overwrite cocoapods
Zadoc answered 28/1 at 23:12 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.