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.52k stars 603 forks source link

react-native&ios& running archive #1057

Open 476491966 opened 4 weeks ago

476491966 commented 4 weeks ago

When using reatcnative, add pod 'ffmpeg-kit-react-native', :subspecs => ['full'], :podspec => '.. /node_modules/ffmpeg-kit-react-native/ffmpeg-kit-react-native.podspec ': After running archive, the ios version displays the following error:

Multiple commands produce '/Users/lyi/Library/Developer/Xcode/DerivedData/auto_video-csdbhojqfnqsnyalnscnopuslhpv/ArchiveIntermediates/Copy of Copy of auto_video/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/React-Core_privacy.bundle'

Multiple commands produce '/Users/lyi/Library/Developer/Xcode/DerivedData/auto_video-csdbhojqfnqsnyalnscnopuslhpv/ArchiveIntermediates/Copy of Copy of auto_video/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/RCT-Follyprivacy.bundle' ![27861729670044 pic](https://github.com/user-attachments/assets/d188fd4b-2bff-4cf6-9a67-0dfa829a01de)

476491966 commented 4 weeks ago

The next addition is in the ios Podfile file, dependent pod 'ffmpeg-kit-react-native', :subspecs => ['full'], :podspec => '.. /node_modules/ffmpeg-kit-react-native/ffmpeg-kit-react-native.podspec’

Just remove it

mmjc29 commented 1 week ago

But you are using Enabling a Package of package name [full] ?

You remove it without using it?

I am same as you pod 'ffmpeg-kit-react-native', :subspecs => ['full-gpl'], :podspec => '../node_modules/ffmpeg-kit-react-native/ffmpeg-kit-react-native.podspec'

mmjc29 commented 6 days ago

Hi @tanersener about the archive project problem

PhaseScriptExecution [CP]\ Copy\ XCFrameworks /Users/Chan/Library/Developer/Xcode/DerivedData/project-fnfemwrtwxinddfuipcpbzckctsg/Build/Intermediates.noindex/ArchiveIntermediates/projectDev/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/ffmpeg-kit-ios-full-gpl.build/Script-9CA596E6F061CE3FFE65E1EE9ED41591.sh (in target 'ffmpeg-kit-ios-full-gpl' from project 'Pods')
    cd /Users/Chan/Documents/test/project/ios/Pods
    /bin/sh -c /Users/Chan/Library/Developer/Xcode/DerivedData/project-fnfemwrtwxinddfuipcpbzckctsg/Build/Intermediates.noindex/ArchiveIntermediates/projectDev/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/ffmpeg-kit-ios-full-gpl.build/Script-9CA596E6F061CE3FFE65E1EE9ED41591.sh
/Users/Chan/Library/Developer/Xcode/DerivedData/project-fnfemwrtwxinddfuipcpbzckctsg/Build/Intermediates.noindex/ArchiveIntermediates/projectDev/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/ffmpeg-kit-ios-full-gpl.build/Script-9CA596E6F061CE3FFE65E1EE9ED41591.sh: line 2: /Target Support Files/ffmpeg-kit-ios-full-gpl/ffmpeg-kit-ios-full-gpl-xcframeworks.sh: No such file or directory
Command PhaseScriptExecution failed with a nonzero exit code

the archive problem seems related to the path not found. Do you have any idea on it?

tanersener commented 5 days ago

@mmjc29 I have no idea