react-native-navigation V7 Error: library not found for -lReactNativeNavigation
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.
And rebuild.