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.53k stars 604 forks source link

Support for Swift Packages Manager #46

Open Moriquendi opened 3 years ago

Moriquendi commented 3 years ago

Are there any plans to make the library available through the Swift Packages Manager? CocoaPods are great but not perfect for everyone :)

tanersener commented 3 years ago

Well, yes there are but not for the current Objective-C API. The plan is to introduce a Swift API and make it available in Swift Package Manager.

mattahorton commented 2 years ago

Is there any movement on this?

I'm eager to try this out in a project I intend to build in Swift Playgrounds 4. It seems to be coming soon and will only support SPM.

tanersener commented 2 years ago

I'm not working on this at the moment. I don't think I'll have time for it soon.

sunshinewithmoonlight commented 2 years ago

Hmmm, I wonder, will this project have swift API and support swiftUI?

andrestone commented 2 years ago

Hey @tanersener! Thanks for your work here.

Is there any downside on consuming this library via Swift?

tanersener commented 2 years ago

I'm not using the library with Swift. So, don't know if there are any.

andrestone commented 2 years ago

Seems like I just found one.

FileHandle (NSFileHandle) hangs on creation, regardless of what initializer I use:

https://developer.apple.com/forums/thread/74001