Closed mgenware closed 9 months ago
by design. rav1e is just pre-built framework. You can grab that and directly use. No need CocoaPods
rav1e does not support dynamic linking. And I'm still really disagreeing to use dynamic lib on iOS
Use
use_framworis!, :linkage => :static
Actually, it's CocoaPods limit.
You can not use pre-built binary to support both dynamic linking and static linking switch. Which need two binaries or re-compile. not single one
But rav1e is Rust code, I don't want you as user to install Rust toolchain on your Mac
I can update the README about this...
Done: https://github.com/SDWebImage/SDWebImageAVIFCoder/blob/master/README.md#rav1e-encoding
Actually, both HEIFCoder and AVIFCoder will use librav1e
A minimal reproducible podfile:
Run
pod install
, got the following error: