Table of contents

react-native-navigation V7 Error: library not found for -lReactNativeNavigation

React Native Sep 13, 2021 Viewed 108 Comments 0

Issue

Recently I upgraded the React Native and related libraries of the project.

From 

{
    "react": "16.8.6",
    "react-native": "0.60.0",
    "react-native-navigation": "^3.2.0",
}

To 

{
    "react": "17.0.1",
    "react-native": "0.64.1",
    "react-native-navigation": "^7.14.0",
}

Finally, I ran the project in Xcode's Realse mode, but I got an error said:

ld: library not found for -lReactNativeNavigation

But there is no problem in Debug mode.

Solution

Update IOS Target Deployment to version 11 in Xcode Build Settings.

Update IOS Target Deployment to version 11 in Xcode Build Settings.

And rebuild.

Updated Sep 13, 2021