Closed mkj-is closed 4 years ago
Thanks for sharing this. Updated the wiki with your post install script.
No problem, thanks for adding it to the documentation. I hope it will be helpful for others.
Hi @mkj-is :
Does't work ! I have try this,but i can't run my app,Please try like below:
1)Create a new app project (Just create a new project) 2)Edit podfile like this:
platform :ios, '12.1' target 'ffmpegTest' do pod 'mobile-ffmpeg-full', '~> 4.4' pod 'MobileVLCKit', '~>3.3.0' post_install do |installer| installer.pods_project.tar..............
3)Run pod install 4)Run app
I get some errors: Unable To Install “ffmpegTest” Please try again later. Failed to load Info.plist from bundle at path /Users/XXXXXXXX/Library/Developer/CoreSimulator/Devices/616EA04F-F09A-48AE-8B86-DF04043B0A5A/data/Library/Caches/com.apple.mobile.installd.staging/temp.FR5Mrc/extracted/ffmpegTest.app/Frameworks/mobileffmpeg.framework; Extra info about Info.plist: Couldn't stat /Users/XXXXXXXXX/Library/Developer/CoreSimulator/Devices/616EA04F-F09A-48AE-8B86-DF04043B0A5A/data/Library/Caches/com.apple.mobile.installd.staging/temp.FR5Mrc/extracted/ffmpegTest.app/Frameworks/mobileffmpeg.framework/Info.plist: No such file or directory
My Xcode is Version 12.4 (12D4e) sorry about my poor english!
Description When having both MobileVLCKit and MobileFFMPEG installed in the project and running
pod install
orpod update
will break the fix recommended in the Wiki:https://github.com/tanersener/mobile-ffmpeg/wiki/Using-Multiple-FFmpeg-Implementations-In-The-Same-iOS-Application
It is even more important if you are not commiting your
Pods
folder to version control system. Then the fix is just local. (This is normal practice, see https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control)Expected behavior I think the documentation could be improved so the fix is not so fragile.
I propose to adding the guidance and this post-script to Wiki:
I also added the solution here for reference: https://stackoverflow.com/a/64502938/3887546
Current behavior I needed to experiment and write my own script to fix the issue.
Logs
Environment
Other I can't submit a PR to the Wiki, that's why I'm opening this issue.