Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FFmpeg builds locally but has conflicting names in production #66

Closed
benjamin-luupli opened this issue Aug 29, 2024 · 11 comments
Closed

Comments

@benjamin-luupli
Copy link

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?

@maitrungduc1410
Copy link
Owner

I see few people have faced the same issue, do you have a sample app so that I can have a try on my end?

@maitrungduc1410
Copy link
Owner

maitrungduc1410 commented Aug 31, 2024

are you using some other FFMPEG lib? (like ffmpeg-kit-react-native)

@benjamin-luupli
Copy link
Author

benjamin-luupli commented Aug 31, 2024 via email

@maitrungduc1410
Copy link
Owner

then you have to find exact version that ffmpeg-kit-react-native is using

@maitrungduc1410
Copy link
Owner

try this:

ios: add this to your ios/Podfile

pod 'ffmpeg-kit-react-native', :subspecs => ['https'], :podspec => '../node_modules/ffmpeg-kit-react-native/ffmpeg-kit-react-native.podspec'

Android: app>build.gradle:

ext {
    ffmpegKitPackage = "https"
}

@benjamin-luupli
Copy link
Author

benjamin-luupli commented Aug 31, 2024 via email

@maitrungduc1410
Copy link
Owner

@benjamin-luupli
Copy link
Author

benjamin-luupli commented Aug 31, 2024 via email

@maitrungduc1410 maitrungduc1410 pinned this issue Aug 31, 2024
@maitrungduc1410
Copy link
Owner

Added instruction how to solve this issue in README

@benjamin-luupli
Copy link
Author

Screenshot 2024-09-02 at 22 39 21

i tried again with the laid down method but still refusing to build find attached the screenshort

@maitrungduc1410
Copy link
Owner

maitrungduc1410 commented Oct 1, 2024

Screenshot 2024-09-02 at 22 39 21

i tried again with the laid down method but still refusing to build find attached the screenshort

you're doing it the wrong way. check my comment: #48 (comment)

(no change in Podfile required)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants