react-native-video-trim
react-native-video-trim copied to clipboard
[!] CocoaPods could not find compatible versions for pod "ffmpeg-kit-ios-min"
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.
it supports iOS 12.1 or later, please update your deployment target
My deployment target is 12.4
make sure you have set it all required places:
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
@c-info I'll check this and get back to you
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
I'm facing the same issue, any clue how to fix it?
Thanks!
I'm facing the same issue, any clue how to fix it?
Thanks!
hi, can you try update your Deployment Target?
Hi package builds alright on my ios device locally when I do pod install with the command you gave FFMPEGKIT_PACKAGE=https FFMPEGKIT_PACKAGE_VERSION=6.0 pod install but on app center when I'm trying to build for production I get this error [!] The 'Pods-app' target has frameworks with conflicting names: ffmpegkit.xcframework, libavcodec.xcframework, libavdevice.xcframework, libavfilter.xcframework, libavformat.xcframework, libavutil.xcframework, libswresample.xcframework, and libswscale.xcframework.
is there any suggestion to by-pass this in my production environment in appcenter?
Added instruction how to solve this issue in README
Anyone also getting stuck on readme for iOS this worked for me
FFMPEGKIT_PACKAGE=https pod install
@maitrungduc1410 I want to use full-gpl which works fine on Android for me.
But on iOS i'm struggling with this compatible version issue as I understand your README it says I just need to set my package to full-gpl and then set the version and specify the version 6.0 but cocoapods still complains
Could you maybe tell me what I'm doing wrong?
Deployment target is set to 13.4
This is my final code I was running
FFMPEGKIT_PACKAGE=full-gpl FFMPEGKIT_PACKAGE_VERSION=6.0 pod install
Then my error
Installing ffmpeg-kit-ios-full-gpl (6.0)
Installing react-native-video-trim 2.2.1
[!] The 'Pods-myapp' target has frameworks with conflicting names: ffmpegkit.xcframework, libavcodec.xcframework, libavdevice.xcframework, libavfilter.xcframework, libavformat.xcframework, libavutil.xcframework, libswresample.xcframework, and libswscale.xcframework.
@maitrungduc1410 I now understood my issue after looking at what they did https://www.npmjs.com/package/ffmpeg-kit-react-native all I needed was to also add the version I wanted to my podfile.
I have improved the message for iOS incase others get confused with the PR: https://github.com/maitrungduc1410/react-native-video-trim/pull/68