tanersener / react-native-ffmpeg

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

Undefined symbol: _OBJC_CLASS_$_MobileFFprobe #186

Closed summonerriftofficial closed 4 years ago

summonerriftofficial commented 4 years ago

Description When I try to archive the version I got that errors Undefined symbol: _OBJCCLASS$_MobileFFprobe

Expected behavior archive version

Current behavior Undefined symbol: _OBJCCLASS$_MobileFFprobe

Screenshots

Screen Shot 2020-07-31 at 2 43 53 PM

Logs

ld: warning: ignoring file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/expat.framework/expat, missing required architecture armv7 in file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/expat.framework/expat (3 slices)
ld: warning: ignoring file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/fontconfig.framework/fontconfig, missing required architecture armv7 in file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/fontconfig.framework/fontconfig (3 slices)
ld: warning: ignoring file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/freetype.framework/freetype, missing required architecture armv7 in file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/freetype.framework/freetype (3 slices)
ld: warning: ignoring file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/fribidi.framework/fribidi, missing required architecture armv7 in file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/fribidi.framework/fribidi (3 slices)
ld: warning: ignoring file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/giflib.framework/giflib, missing required architecture armv7 in file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/giflib.framework/giflib (3 slices)
ld: warning: ignoring file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/gmp.framework/gmp, missing required architecture armv7 in file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/gmp.framework/gmp (3 slices)
ld: warning: ignoring file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/jpeg.framework/jpeg, missing required architecture armv7 in file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/jpeg.framework/jpeg (3 slices)
ld: warning: ignoring file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/gnutls.framework/gnutls, missing required architecture armv7 in file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/gnutls.framework/gnutls (3 slices)
ld: warning: ignoring file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/kvazaar.framework/kvazaar, missing required architecture armv7 in file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/kvazaar.framework/kvazaar (3 slices)
ld: warning: ignoring file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/lame.framework/lame, missing required architecture armv7 in file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/lame.framework/lame (3 slices)
ld: warning: ignoring file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/libaom.framework/libaom, missing required architecture armv7 in file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/libaom.framework/libaom (3 slices)
ld: warning: ignoring file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/libass.framework/libass, missing required architecture armv7 in file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/libass.framework/libass (3 slices)
ld: warning: ignoring file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/libavcodec.framework/libavcodec, missing required architecture armv7 in file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/libavcodec.framework/libavcodec (3 slices)
ld: warning: ignoring file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/libavdevice.framework/libavdevice, missing required architecture armv7 in file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/libavdevice.framework/libavdevice (3 slices)
ld: warning: ignoring file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/libavfilter.framework/libavfilter, missing required architecture armv7 in file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/libavfilter.framework/libavfilter (3 slices)
ld: warning: ignoring file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/libavformat.framework/libavformat, missing required architecture armv7 in file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/libavformat.framework/libavformat (3 slices)
ld: warning: ignoring file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/libavutil.framework/libavutil, missing required architecture armv7 in file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/libavutil.framework/libavutil (3 slices)
ld: warning: ignoring file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/libhogweed.framework/libhogweed, missing required architecture armv7 in file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/libhogweed.framework/libhogweed (3 slices)
ld: warning: ignoring file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/libilbc.framework/libilbc, missing required architecture armv7 in file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/libilbc.framework/libilbc (3 slices)
ld: warning: ignoring file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/libnettle.framework/libnettle, missing required architecture armv7 in file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/libnettle.framework/libnettle (3 slices)
ld: warning: ignoring file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/libogg.framework/libogg, missing required architecture armv7 in file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/libogg.framework/libogg (3 slices)
ld: warning: ignoring file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/libopencore-amrnb.framework/libopencore-amrnb, missing required architecture armv7 in file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/libopencore-amrnb.framework/libopencore-amrnb (3 slices)
ld: warning: ignoring file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/libopencore-amrwb.framework/libopencore-amrwb, missing required architecture armv7 in file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/libopencore-amrwb.framework/libopencore-amrwb (3 slices)
ld: warning: ignoring file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/libpng.framework/libpng, missing required architecture armv7 in file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/libpng.framework/libpng (3 slices)
ld: warning: ignoring file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/libsndfile.framework/libsndfile, missing required architecture armv7 in file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/libsndfile.framework/libsndfile (3 slices)
ld: warning: ignoring file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/libswresample.framework/libswresample, missing required architecture armv7 in file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/libswresample.framework/libswresample (3 slices)
ld: warning: ignoring file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/libswscale.framework/libswscale, missing required architecture armv7 in file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/libswscale.framework/libswscale (3 slices)
ld: warning: ignoring file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/libtheora.framework/libtheora, missing required architecture armv7 in file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/libtheora.framework/libtheora (3 slices)
ld: warning: ignoring file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/libtheoradec.framework/libtheoradec, missing required architecture armv7 in file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/libtheoradec.framework/libtheoradec (3 slices)
ld: warning: ignoring file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/libtheoraenc.framework/libtheoraenc, missing required architecture armv7 in file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/libtheoraenc.framework/libtheoraenc (3 slices)
ld: warning: ignoring file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/libuuid.framework/libuuid, missing required architecture armv7 in file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/libuuid.framework/libuuid (3 slices)
ld: warning: ignoring file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/libvorbis.framework/libvorbis, missing required architecture armv7 in file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/libvorbis.framework/libvorbis (3 slices)
ld: warning: ignoring file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/libvidstab.framework/libvidstab, missing required architecture armv7 in file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/libvidstab.framework/libvidstab (3 slices)
ld: warning: ignoring file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/libvorbisenc.framework/libvorbisenc, missing required architecture armv7 in file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/libvorbisenc.framework/libvorbisenc (3 slices)
ld: warning: ignoring file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/libvorbisfile.framework/libvorbisfile, missing required architecture armv7 in file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/libvorbisfile.framework/libvorbisfile (3 slices)
ld: warning: ignoring file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/libvpx.framework/libvpx, missing required architecture armv7 in file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/libvpx.framework/libvpx (3 slices)
ld: warning: ignoring file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/libwebp.framework/libwebp, missing required architecture armv7 in file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/libwebp.framework/libwebp (3 slices)
ld: warning: ignoring file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/libwebpdecoder.framework/libwebpdecoder, missing required architecture armv7 in file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/libwebpdecoder.framework/libwebpdecoder (3 slices)
ld: warning: ignoring file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/libwebpdemux.framework/libwebpdemux, missing required architecture armv7 in file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/libwebpdemux.framework/libwebpdemux (3 slices)
ld: warning: ignoring file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/libxml2.framework/libxml2, missing required architecture armv7 in file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/libxml2.framework/libxml2 (3 slices)
ld: warning: ignoring file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/opus.framework/opus, missing required architecture armv7 in file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/opus.framework/opus (3 slices)
ld: warning: ignoring file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/shine.framework/shine, missing required architecture armv7 in file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/shine.framework/shine (3 slices)
ld: warning: ignoring file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/mobileffmpeg.framework/mobileffmpeg, missing required architecture armv7 in file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/mobileffmpeg.framework/mobileffmpeg (3 slices)
ld: warning: ignoring file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/snappy.framework/snappy, missing required architecture armv7 in file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/snappy.framework/snappy (3 slices)
ld: warning: ignoring file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/soxr.framework/soxr, missing required architecture armv7 in file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/soxr.framework/soxr (3 slices)
ld: warning: ignoring file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/speex.framework/speex, missing required architecture armv7 in file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/speex.framework/speex (3 slices)
ld: warning: ignoring file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/tiff.framework/tiff, missing required architecture armv7 in file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/tiff.framework/tiff (3 slices)
ld: warning: ignoring file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/twolame.framework/twolame, missing required architecture armv7 in file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/twolame.framework/twolame (3 slices)
ld: warning: ignoring file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/wavpack.framework/wavpack, missing required architecture armv7 in file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/wavpack.framework/wavpack (3 slices)
ld: warning: ignoring file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/x265.framework/x265, missing required architecture armv7 in file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/x265.framework/x265 (3 slices)
ld: warning: ignoring file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/x264.framework/x264, missing required architecture armv7 in file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/x264.framework/x264 (3 slices)
ld: warning: ignoring file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/xvidcore.framework/xvidcore, missing required architecture armv7 in file /Users/ahmedsafadi/Desktop/livestream/ios/Pods/mobile-ffmpeg-full-gpl/xvidcore.framework/xvidcore (3 slices)
Undefined symbols for architecture armv7:
  "_OBJC_CLASS_$_MobileFFprobe", referenced from:
      objc-class-ref in libreact-native-ffmpeg.a(RNFFmpegModule.o)
  "_OBJC_CLASS_$_MobileFFmpeg", referenced from:
      objc-class-ref in libreact-native-ffmpeg.a(RNFFmpegModule.o)
  "_OBJC_CLASS_$_MobileFFmpegConfig", referenced from:
      objc-class-ref in libreact-native-ffmpeg.a(RNFFmpegModule.o)
  "_OBJC_CLASS_$_ArchDetect", referenced from:
      objc-class-ref in libreact-native-ffmpeg.a(RNFFmpegModule.o)
ld: symbol(s) not found for architecture armv7

Environment

Other Add any other context about the problem here.

arbazz commented 4 years ago

hey, did you able to find the solution?

Aleksandern commented 4 years ago

Try to use LTS version. https://github.com/tanersener/react-native-ffmpeg#51-main-release-vs-lts-release

codewithaashir commented 4 years ago

Please Guide me i have still issues :/

codewithaashir commented 4 years ago

Aleksandern how to install LTS Version unable to fine npm i react-native-ffmpeg-lts image

arbazz commented 4 years ago

i am able to build by removing arm7 from architecture.

codewithaashir commented 4 years ago

thanks Bro @arbazz

vineethvijayan commented 4 years ago

It seems to be working when you remove arm7, but what will be the other impact? I have no clear idea about these details.

Aleksandern commented 4 years ago

Packages from LTS variant includes -lts postfix in their names. So if you want use a package from LTS release, you need to append -lts to package name. For example, to use full-gpl package of a LTS release you need to use full-gpl-lts.

In order to install the LTS variant, install the https-lts package using instructions in 2.3 or append -lts to the package name you are using.

For example for iOS pod: pod 'react-native-ffmpeg/https-lts ', :podspec => '../node_modules/react-native-ffmpeg/react-native-ffmpeg.podspec'

vineethvijayan commented 4 years ago

@Aleksandern so do you suggest using LTS version than removing the architecture arm7?

Aleksandern commented 4 years ago

It dependeds on your needs. Read the readme to know difference between Main release and LTS release.

vineethvijayan commented 4 years ago

Seems to be a better option is to go with the Main release. But not sure its impact on other libs?

github-actions[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.