I to would like to see a SPM for vlckit.
I am using Carthage only for VLCKit at the moment. All other dependencies are using Swift package Manager. Having VLCKIT SPM would be beneficial as Carthage is currently a version behind of CocoaPods release of mobile vlc kit.
Cocoa Pods does not work with local swift package development, thus the reason for using Carthage, which does work with local swift package development
In order to support SPM, a "Package.swift" should be placed at the root level. Currently information for distributing binaries for VLCKit are placed in "Packaging" directory.
The archive should be zipped and only xcframework format is supported.
Not sure what is the right approach here, I've seen that you use buildAndDeployFrameworks that also need to be updated in order to update Package.swift file.
I was thinking to have a Package.swift file in Packaging directory, and a symlink at the root, ex:
ln -s Packaging/Package.swift Package.swift
By pull request you mean on GitHub right ?
Yep, I'm interested to help in order to have SPM support...
Indeed, the script should be edited to automatically update the file. Regarding the Package.swift, /Packaging is indeed the correct folder. However, I would recommend against a symlink at the root.
Please do a merge request on this gitlab and not on GitHub, so you can also use our CI.