maitrungduc1410 / react-native-video-trim

Video trimmer for React Native App
MIT License
37 stars 14 forks source link

[!] CocoaPods could not find compatible versions for pod "ffmpeg-kit-ios-min" #40

Open mguerrero-exe opened 2 months ago

mguerrero-exe commented 2 months ago

I got this error in IOS when try to install pods:

[!] CocoaPods could not find compatible versions for pod "ffmpeg-kit-ios-min":
  In Podfile:
    react-native-video-trim (from ../node_modules/react-native-video-trim) was resolved to 1.0.16, which depends on
      ffmpeg-kit-ios-min (~> 6.0)

Specs satisfying the ffmpeg-kit-ios-min (~> 6.0) dependency were found, but they required a higher minimum deployment target.

I don't use any FFMPEG kit, so the one that comes with the default trimmer library is the one that is in use.

maitrungduc1410 commented 2 months ago

it supports iOS 12.1 or later, please update your deployment target

mguerrero-exe commented 2 months ago

My deployment target is 12.4

maitrungduc1410 commented 2 months ago

make sure you have set it all required places:

Screenshot 2024-03-01 at 9 47 32 PM Screenshot 2024-03-01 at 9 47 15 PM
c-info commented 5 days ago

The 'Pods-demo_app' target has frameworks with conflicting names: ffmpegkit.xcframework, libavcodec.xcframework, libavdevice.xcframework, libavfilter.xcframework, libavformat.xcframework, libavutil.xcframework, libswresample.xcframework, and libswscale.xcframework.

when using ffmpeg-kit-react-native

maitrungduc1410 commented 5 days ago

@c-info I'll check this and get back to you

maitrungduc1410 commented 4 days ago

Hi guys, according to ffmpegkit-react-native, for iOS it's using ffmpegkit-https, version = 6.0

Therefore when running pod install you need to do this (setting 2 extras ENV):

FFMPEGKIT_PACKAGE=https FFMPEGKIT_PACKAGE_VERSION=6.0 pod install