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

error in iOS while setting up the library. #250

Closed shahanshah87 closed 3 years ago

shahanshah87 commented 3 years ago

Description Getting error after follow steps of iOS installation as:- ld: in /Users/apple/Desktop/bando-artist-app/ios/Pods/mobile-ffmpeg-full-gpl/libavcodec.framework/libavcodec(aacencdsp.o), building for iOS Simulator, but linking in object file built for free standing, file '/Users/apple/Desktop/bando-artist-app/ios/Pods/mobile-ffmpeg-full-gpl/libavcodec.framework/libavcodec' for architecture x86_64

Expected behavior to run smoothly on iOS

Current behavior error as mentioned above.

Screenshots

Screenshot 2021-06-21 at 5 42 40 PM

Logs cleared

Environment

Other Tried solution:-

  1. pod install
  2. change exluded architecture to Yes for arm64 in build setting.
shahanshah87 commented 3 years ago

fix this with:- https://github.com/tanersener/react-native-ffmpeg/issues/196#issuecomment-700935317