arthenica / ffmpeg-kit

FFmpeg Kit for applications. Supports Android, Flutter, iOS, Linux, macOS, React Native and tvOS. Supersedes MobileFFmpeg, flutter_ffmpeg and react-native-ffmpeg.
https://arthenica.github.io/ffmpeg-kit
GNU Lesser General Public License v3.0
4.5k stars 602 forks source link

Can't build ios #164

Closed mirroringcontact closed 3 years ago

mirroringcontact commented 3 years ago

Description i can't compile "bundle-apple-framework-ios"

Expected behavior previously i run "ios.sh" script and waiting for "*.framework" files in "prebuild/bundle-apple-framework-ios" folder

Current behavior Now i see error in "build.log" file:

To Reproduce In terminal: 1) cd ......../FolderWithFFmpegKitProject 2) ./ios.sh

Screenshots http://joxi.ru/Dr8PLjMTJg1nXr

Logs /var/folders/9b/5xqctkg97ns1jkvrnk2f85640000gn/T//ffconf.NM7FgAvY/test.c clang: error: invalid iOS deployment version '-target armv7-apple-ios12.1', iOS 10 is the maximum deployment target for 32-bit targets [-Winvalid-ios-deployment-target] C compiler test failed.

Environment

Other

tanersener commented 3 years ago

Could you please fill out the Bug report template fields?

mirroringcontact commented 3 years ago

Added more info.

I try compile only 64 arch. arm64 - Success

x86-64 - Error in config.log:

error: unknown target CPU 'intel'
note: valid target CPU values are: i386, i486, winchip-c6, winchip2, c3, i586, pentium, pentium-mmx, pentiumpro, i686, pentium2, pentium3, pentium3m, pentium-m, c3-2, yonah, pentium4, pentium4m, prescott, nocona, core2, penryn, bonnell, atom, silvermont, slm, goldmont, goldmont-plus, tremont, nehalem, corei7, westmere, sandybridge, corei7-avx, ivybridge, core-avx-i, haswell, core-avx2, broadwell, skylake, skylake-avx512, skx, cascadelake, cooperlake, cannonlake, icelake-client, icelake-server, tigerlake, sapphirerapids, alderlake, knl, knm, lakemont, k6, k6-2, k6-3, athlon, athlon-tbird, athlon-xp, athlon-mp, athlon-4, k8, athlon64, athlon-fx, opteron, k8-sse3, athlon64-sse3, opteron-sse3, amdfam10, barcelona, btver1, btver2, bdver1, bdver2, bdver3, bdver4, znver1, znver2, znver3, x86-64, geode
C compiler test failed
tanersener commented 3 years ago

You're trying to build 32-bit architectures. But, they are not supported after iOS 11. That's why your build fails.

You can:

  1. Build the LTS version which has a lower IOS deployment target
  2. Manually disable those 32-bit architectures using --disable- flags
scvgoe commented 3 years ago

same here

I want to release custom ios build to cocoapod.

When I execute pod spec lint, there are lots of warnings.

To remove warnings, I built it for Architectures: arm64, x86-64.

But same error occured.

Followings are results of pod spec lint.

...
    ld: in /var/folders/53/s7yd00dn79g_n6yz26y3z7w40000gn/T/CocoaPods-Lint-20211006-59283-qbqpv4-mobile-ffmpeg-bubap/Pods/mobile-ffmpeg-bubap/ios-framework/chromaprint.framework/chromaprint(chromaprint.cpp.o), building for iOS Simulator, but linking in object file built for iOS, file '/var/folders/53/s7yd00dn79g_n6yz26y3z7w40000gn/T/CocoaPods-Lint-20211006-59283-qbqpv4-mobile-ffmpeg-bubap/Pods/mobile-ffmpeg-bubap/ios-framework/chromaprint.framework/chromaprint' for architecture arm64
    clang: error: linker command failed with exit code 1 (use -v to see invocation)

    warning: Skipping code signing because the target does not have an Info.plist file and one is not being generated automatically. (in target 'App' from project 'App')
    ** BUILD FAILED **

    The following build commands failed:
        Ld /Users/daeseongkim/Library/Developer/Xcode/DerivedData/App-anidxyvrdwvykebtiytiubnnjswa/Build/Intermediates.noindex/App.build/Release-iphonesimulator/App.build/Objects-normal/arm64/Binary/App normal arm64 (in target 'App' from project 'App')
    (1 failure)
   Testing with `xcodebuild`.
 -> mobile-ffmpeg-bubap (0.0.1)
    - WARN  | [iOS] license: Unable to find a license file
    - ERROR | [iOS] xcodebuild: Returned an unsuccessful exit code.
    - NOTE  | xcodebuild:  note: Using new build system
    - NOTE  | xcodebuild:  note: Using codesigning identity override: -
    - NOTE  | xcodebuild:  note: Build preparation complete
    - NOTE  | [iOS] xcodebuild:  note: Planning
    - NOTE  | [iOS] xcodebuild:  note: Building targets in parallel
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/chromaprint.framework/chromaprint, missing required architecture x86_64 in file mobile-ffmpeg-bubap/ios-framework/chromaprint.framework/chromaprint (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/expat.framework/expat, missing required architecture x86_64 in file mobile-ffmpeg-bubap/ios-framework/expat.framework/expat (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/fontconfig.framework/fontconfig, missing required architecture x86_64 in file mobile-ffmpeg-bubap/ios-framework/fontconfig.framework/fontconfig (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/freetype.framework/freetype, missing required architecture x86_64 in file mobile-ffmpeg-bubap/ios-framework/freetype.framework/freetype (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/fribidi.framework/fribidi, missing required architecture x86_64 in file mobile-ffmpeg-bubap/ios-framework/fribidi.framework/fribidi (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/giflib.framework/giflib, missing required architecture x86_64 in file mobile-ffmpeg-bubap/ios-framework/giflib.framework/giflib (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/gmp.framework/gmp, missing required architecture x86_64 in file mobile-ffmpeg-bubap/ios-framework/gmp.framework/gmp (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/gnutls.framework/gnutls, missing required architecture x86_64 in file mobile-ffmpeg-bubap/ios-framework/gnutls.framework/gnutls (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/jpeg.framework/jpeg, missing required architecture x86_64 in file mobile-ffmpeg-bubap/ios-framework/jpeg.framework/jpeg (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/kvazaar.framework/kvazaar, missing required architecture x86_64 in file mobile-ffmpeg-bubap/ios-framework/kvazaar.framework/kvazaar (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/lame.framework/lame, missing required architecture x86_64 in file mobile-ffmpeg-bubap/ios-framework/lame.framework/lame (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/leptonica.framework/leptonica, missing required architecture x86_64 in file mobile-ffmpeg-bubap/ios-framework/leptonica.framework/leptonica (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/libaom.framework/libaom, missing required architecture x86_64 in file mobile-ffmpeg-bubap/ios-framework/libaom.framework/libaom (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/libass.framework/libass, missing required architecture x86_64 in file mobile-ffmpeg-bubap/ios-framework/libass.framework/libass (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/libavdevice.framework/libavdevice, missing required architecture x86_64 in file mobile-ffmpeg-bubap/ios-framework/libavdevice.framework/libavdevice (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/libavfilter.framework/libavfilter, missing required architecture x86_64 in file mobile-ffmpeg-bubap/ios-framework/libavfilter.framework/libavfilter (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/libavformat.framework/libavformat, missing required architecture x86_64 in file mobile-ffmpeg-bubap/ios-framework/libavformat.framework/libavformat (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/libavutil.framework/libavutil, missing required architecture x86_64 in file mobile-ffmpeg-bubap/ios-framework/libavutil.framework/libavutil (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/libhogweed.framework/libhogweed, missing required architecture x86_64 in file mobile-ffmpeg-bubap/ios-framework/libhogweed.framework/libhogweed (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/libavcodec.framework/libavcodec, missing required architecture x86_64 in file mobile-ffmpeg-bubap/ios-framework/libavcodec.framework/libavcodec (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/libogg.framework/libogg, missing required architecture x86_64 in file mobile-ffmpeg-bubap/ios-framework/libogg.framework/libogg (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/libnettle.framework/libnettle, missing required architecture x86_64 in file mobile-ffmpeg-bubap/ios-framework/libnettle.framework/libnettle (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/libopencore-amrnb.framework/libopencore-amrnb, missing required architecture x86_64 in file mobile-ffmpeg-bubap/ios-framework/libopencore-amrnb.framework/libopencore-amrnb (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/libsndfile.framework/libsndfile, missing required architecture x86_64 in file mobile-ffmpeg-bubap/ios-framework/libsndfile.framework/libsndfile (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/libpng.framework/libpng, missing required architecture x86_64 in file mobile-ffmpeg-bubap/ios-framework/libpng.framework/libpng (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/libswresample.framework/libswresample, missing required architecture x86_64 in file mobile-ffmpeg-bubap/ios-framework/libswresample.framework/libswresample (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/libswscale.framework/libswscale, missing required architecture x86_64 in file mobile-ffmpeg-bubap/ios-framework/libswscale.framework/libswscale (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/libtheora.framework/libtheora, missing required architecture x86_64 in file mobile-ffmpeg-bubap/ios-framework/libtheora.framework/libtheora (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/libtheoradec.framework/libtheoradec, missing required architecture x86_64 in file mobile-ffmpeg-bubap/ios-framework/libtheoradec.framework/libtheoradec (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/libtheoraenc.framework/libtheoraenc, missing required architecture x86_64 in file mobile-ffmpeg-bubap/ios-framework/libtheoraenc.framework/libtheoraenc (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/libvorbis.framework/libvorbis, missing required architecture x86_64 in file mobile-ffmpeg-bubap/ios-framework/libvorbis.framework/libvorbis (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/libvorbisenc.framework/libvorbisenc, missing required architecture x86_64 in file mobile-ffmpeg-bubap/ios-framework/libvorbisenc.framework/libvorbisenc (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/libvorbisfile.framework/libvorbisfile, missing required architecture x86_64 in file mobile-ffmpeg-bubap/ios-framework/libvorbisfile.framework/libvorbisfile (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/libwebp.framework/libwebp, missing required architecture x86_64 in file mobile-ffmpeg-bubap/ios-framework/libwebp.framework/libwebp (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/libwebpdemux.framework/libwebpdemux, missing required architecture x86_64 in file mobile-ffmpeg-bubap/ios-framework/libwebpdemux.framework/libwebpdemux (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/libvpx.framework/libvpx, missing required architecture x86_64 in file mobile-ffmpeg-bubap/ios-framework/libvpx.framework/libvpx (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/libwebpmux.framework/libwebpmux, missing required architecture x86_64 in file mobile-ffmpeg-bubap/ios-framework/libwebpmux.framework/libwebpmux (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/mobileffmpeg.framework/mobileffmpeg, missing required architecture x86_64 in file mobile-ffmpeg-bubap/ios-framework/mobileffmpeg.framework/mobileffmpeg (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/libxml2.framework/libxml2, missing required architecture x86_64 in file mobile-ffmpeg-bubap/ios-framework/libxml2.framework/libxml2 (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/openh264.framework/openh264, missing required architecture x86_64 in file mobile-ffmpeg-bubap/ios-framework/openh264.framework/openh264 (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/opus.framework/opus, missing required architecture x86_64 in file mobile-ffmpeg-bubap/ios-framework/opus.framework/opus (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/snappy.framework/snappy, missing required architecture x86_64 in file mobile-ffmpeg-bubap/ios-framework/snappy.framework/snappy (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/soxr.framework/soxr, missing required architecture x86_64 in file mobile-ffmpeg-bubap/ios-framework/soxr.framework/soxr (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/speex.framework/speex, missing required architecture x86_64 in file mobile-ffmpeg-bubap/ios-framework/speex.framework/speex (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/tesseract.framework/tesseract, missing required architecture x86_64 in file mobile-ffmpeg-bubap/ios-framework/tesseract.framework/tesseract (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/tiff.framework/tiff, missing required architecture x86_64 in file mobile-ffmpeg-bubap/ios-framework/tiff.framework/tiff (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/twolame.framework/twolame, missing required architecture x86_64 in file mobile-ffmpeg-bubap/ios-framework/twolame.framework/twolame (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/libilbc.framework/libilbc, missing required architecture x86_64 in file mobile-ffmpeg-bubap/ios-framework/libilbc.framework/libilbc (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/wavpack.framework/wavpack, missing required architecture x86_64 in file mobile-ffmpeg-bubap/ios-framework/wavpack.framework/wavpack (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/shine.framework/shine, missing required architecture x86_64 in file mobile-ffmpeg-bubap/ios-framework/shine.framework/shine (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/sdl.framework/sdl, missing required architecture x86_64 in file mobile-ffmpeg-bubap/ios-framework/sdl.framework/sdl (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/vo-amrwbenc.framework/vo-amrwbenc, missing required architecture x86_64 in file mobile-ffmpeg-bubap/ios-framework/vo-amrwbenc.framework/vo-amrwbenc (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/chromaprint.framework/chromaprint, missing required architecture i386 in file mobile-ffmpeg-bubap/ios-framework/chromaprint.framework/chromaprint (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/expat.framework/expat, missing required architecture i386 in file mobile-ffmpeg-bubap/ios-framework/expat.framework/expat (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/fontconfig.framework/fontconfig, missing required architecture i386 in file mobile-ffmpeg-bubap/ios-framework/fontconfig.framework/fontconfig (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/freetype.framework/freetype, missing required architecture i386 in file mobile-ffmpeg-bubap/ios-framework/freetype.framework/freetype (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/fribidi.framework/fribidi, missing required architecture i386 in file mobile-ffmpeg-bubap/ios-framework/fribidi.framework/fribidi (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/giflib.framework/giflib, missing required architecture i386 in file mobile-ffmpeg-bubap/ios-framework/giflib.framework/giflib (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/gmp.framework/gmp, missing required architecture i386 in file mobile-ffmpeg-bubap/ios-framework/gmp.framework/gmp (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/gnutls.framework/gnutls, missing required architecture i386 in file mobile-ffmpeg-bubap/ios-framework/gnutls.framework/gnutls (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/jpeg.framework/jpeg, missing required architecture i386 in file mobile-ffmpeg-bubap/ios-framework/jpeg.framework/jpeg (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/kvazaar.framework/kvazaar, missing required architecture i386 in file mobile-ffmpeg-bubap/ios-framework/kvazaar.framework/kvazaar (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/lame.framework/lame, missing required architecture i386 in file mobile-ffmpeg-bubap/ios-framework/lame.framework/lame (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/leptonica.framework/leptonica, missing required architecture i386 in file mobile-ffmpeg-bubap/ios-framework/leptonica.framework/leptonica (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/libaom.framework/libaom, missing required architecture i386 in file mobile-ffmpeg-bubap/ios-framework/libaom.framework/libaom (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/libass.framework/libass, missing required architecture i386 in file mobile-ffmpeg-bubap/ios-framework/libass.framework/libass (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/libavcodec.framework/libavcodec, missing required architecture i386 in file mobile-ffmpeg-bubap/ios-framework/libavcodec.framework/libavcodec (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/libavdevice.framework/libavdevice, missing required architecture i386 in file mobile-ffmpeg-bubap/ios-framework/libavdevice.framework/libavdevice (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/libavfilter.framework/libavfilter, missing required architecture i386 in file mobile-ffmpeg-bubap/ios-framework/libavfilter.framework/libavfilter (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/libavformat.framework/libavformat, missing required architecture i386 in file mobile-ffmpeg-bubap/ios-framework/libavformat.framework/libavformat (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/libavutil.framework/libavutil, missing required architecture i386 in file mobile-ffmpeg-bubap/ios-framework/libavutil.framework/libavutil (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/libhogweed.framework/libhogweed, missing required architecture i386 in file mobile-ffmpeg-bubap/ios-framework/libhogweed.framework/libhogweed (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/libilbc.framework/libilbc, missing required architecture i386 in file mobile-ffmpeg-bubap/ios-framework/libilbc.framework/libilbc (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/libnettle.framework/libnettle, missing required architecture i386 in file mobile-ffmpeg-bubap/ios-framework/libnettle.framework/libnettle (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/libogg.framework/libogg, missing required architecture i386 in file mobile-ffmpeg-bubap/ios-framework/libogg.framework/libogg (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/libopencore-amrnb.framework/libopencore-amrnb, missing required architecture i386 in file mobile-ffmpeg-bubap/ios-framework/libopencore-amrnb.framework/libopencore-amrnb (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/libpng.framework/libpng, missing required architecture i386 in file mobile-ffmpeg-bubap/ios-framework/libpng.framework/libpng (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/libsndfile.framework/libsndfile, missing required architecture i386 in file mobile-ffmpeg-bubap/ios-framework/libsndfile.framework/libsndfile (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/libswresample.framework/libswresample, missing required architecture i386 in file mobile-ffmpeg-bubap/ios-framework/libswresample.framework/libswresample (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/libswscale.framework/libswscale, missing required architecture i386 in file mobile-ffmpeg-bubap/ios-framework/libswscale.framework/libswscale (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/libtheora.framework/libtheora, missing required architecture i386 in file mobile-ffmpeg-bubap/ios-framework/libtheora.framework/libtheora (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/libtheoradec.framework/libtheoradec, missing required architecture i386 in file mobile-ffmpeg-bubap/ios-framework/libtheoradec.framework/libtheoradec (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/libtheoraenc.framework/libtheoraenc, missing required architecture i386 in file mobile-ffmpeg-bubap/ios-framework/libtheoraenc.framework/libtheoraenc (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/libvorbis.framework/libvorbis, missing required architecture i386 in file mobile-ffmpeg-bubap/ios-framework/libvorbis.framework/libvorbis (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/libvorbisenc.framework/libvorbisenc, missing required architecture i386 in file mobile-ffmpeg-bubap/ios-framework/libvorbisenc.framework/libvorbisenc (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/libvorbisfile.framework/libvorbisfile, missing required architecture i386 in file mobile-ffmpeg-bubap/ios-framework/libvorbisfile.framework/libvorbisfile (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/libvpx.framework/libvpx, missing required architecture i386 in file mobile-ffmpeg-bubap/ios-framework/libvpx.framework/libvpx (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/libwebp.framework/libwebp, missing required architecture i386 in file mobile-ffmpeg-bubap/ios-framework/libwebp.framework/libwebp (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/libwebpdemux.framework/libwebpdemux, missing required architecture i386 in file mobile-ffmpeg-bubap/ios-framework/libwebpdemux.framework/libwebpdemux (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/libwebpmux.framework/libwebpmux, missing required architecture i386 in file mobile-ffmpeg-bubap/ios-framework/libwebpmux.framework/libwebpmux (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/libxml2.framework/libxml2, missing required architecture i386 in file mobile-ffmpeg-bubap/ios-framework/libxml2.framework/libxml2 (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/mobileffmpeg.framework/mobileffmpeg, missing required architecture i386 in file mobile-ffmpeg-bubap/ios-framework/mobileffmpeg.framework/mobileffmpeg (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/openh264.framework/openh264, missing required architecture i386 in file mobile-ffmpeg-bubap/ios-framework/openh264.framework/openh264 (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/opus.framework/opus, missing required architecture i386 in file mobile-ffmpeg-bubap/ios-framework/opus.framework/opus (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/sdl.framework/sdl, missing required architecture i386 in file mobile-ffmpeg-bubap/ios-framework/sdl.framework/sdl (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/shine.framework/shine, missing required architecture i386 in file mobile-ffmpeg-bubap/ios-framework/shine.framework/shine (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/snappy.framework/snappy, missing required architecture i386 in file mobile-ffmpeg-bubap/ios-framework/snappy.framework/snappy (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/soxr.framework/soxr, missing required architecture i386 in file mobile-ffmpeg-bubap/ios-framework/soxr.framework/soxr (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/speex.framework/speex, missing required architecture i386 in file mobile-ffmpeg-bubap/ios-framework/speex.framework/speex (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/tesseract.framework/tesseract, missing required architecture i386 in file mobile-ffmpeg-bubap/ios-framework/tesseract.framework/tesseract (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/tiff.framework/tiff, missing required architecture i386 in file mobile-ffmpeg-bubap/ios-framework/tiff.framework/tiff (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/twolame.framework/twolame, missing required architecture i386 in file mobile-ffmpeg-bubap/ios-framework/twolame.framework/twolame (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/vo-amrwbenc.framework/vo-amrwbenc, missing required architecture i386 in file mobile-ffmpeg-bubap/ios-framework/vo-amrwbenc.framework/vo-amrwbenc (1 slices)
    - NOTE  | [iOS] xcodebuild:  ld: warning: ignoring file mobile-ffmpeg-bubap/ios-framework/wavpack.framework/wavpack, missing required architecture i386 in file mobile-ffmpeg-bubap/ios-framework/wavpack.framework/wavpack (1 slices)
    - NOTE  | [iOS] xcodebuild:  clang: error: linker command failed with exit code 1 (use -v to see invocation)
    - NOTE  | [iOS] xcodebuild:  warning: Skipping code signing because the target does not have an Info.plist file and one is not being generated automatically. (in target 'App' from project 'App')
tanersener commented 3 years ago

It seems like the clang version coming with Xcode 13 doesn't support intel as cpu-type. I fixed this on development and main. Please pull the latest updates and try again.

vitalyliber commented 3 years ago

@tanersener how to install that branch for react-native?

I tried "ffmpeg-kit-react-native": "https://github.com/tanersener/ffmpeg-kit/tree/main/react-native.git", But it didn't work

tanersener commented 3 years ago

@vitalyliber The issue discussed here is about build scripts we have for native apple platforms. React native is not affected from this. If you have an error on react-native, then I suggest creating another issue with details about how to reproduce it.