tanersener / react-native-ffmpeg

FFmpeg for react-native. Not maintained anymore. Superseded by FFmpegKit.
GNU General Public License v3.0
400 stars 51 forks source link

library not found for -lreact-native-ffmpeg #259

Closed ghost closed 3 years ago

ghost commented 3 years ago

Description Hello, I got problem while build a new release for production while running build and got error message library not found for -lreact-native-ffmpeg. Otherwise, when run as debug mode it works normal.

I've already tried:

rm -rf node_modules
rm -rf ios/build
rm -rf ios/Pods
rm -rf ios/Podfile.lock
yarn install
cd ios; pod install

Screenshots image

Environment

"react-native": "0.60.4"
"react-native-ffmpeg": "^0.5.1"
ghost commented 3 years ago

Problem resolved: iOS version mismatch with main project exists. Just navigate to your framework - Build Settings - Deployment - iOS Deployment target and check if it is the same as main project, if not just set the correct one.

Product > Scheme > Edit Scheme, and then tap the 'Build' category on the left hand side. Under your appTests targets, uncheck "Run".