Migrate to xcframework
use xcframeworks for dependencies
update min dependencies version
Carthage........... :(
To tell the truth, all Carthage supports is not always guranteed to be supported from someday. SPM and CocoaPods is the still the preferred way.
To change the Carthage dependency from raw framework into xcframework, this need WebPCoder itself also provide the xcframework Xcode scheme, so that as you (You're the sub-dependency of WebPCoder), which is a pain.
but libwebp-Xcode supports Carthage, and it does not have any dependencies, it can easily distributed as an xcframework or when building SDWebImageWebPCoder It will build xcframework for it's dependencies including libwebp-Xcode
or we can add a pre-compiled xcframework to the release artifact :)
yes Carthage is not been updated and maintained for a while now, but it is the dependency manager that can provide a pre-build framework and support dependencies, SPM with binary does not support dependencies.
And
update min dependencies version
I don't find anything useful for this. The API we used (See SDImageWebPCoder.m) still exists and not changed from 1.0.0->1.3.2, why update ?
As a consumer or downstream dependency, you can always limit the libwebp version by yourself, no need to make the compatible version range more aggressively for this repo