Skip to content

Commit f784fcf

Browse files
committed
Update README.md
Add description about librav1e static linkage
1 parent 9f49b0f commit f784fcf

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed

README.md

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,24 @@ From v0.8.3, libavif can built with libgav1. For For CocoaPods user, you can sim
7171

7272
See more about [performance](https://github.com/xiph/rav1e/issues/1248)
7373

74-
From v0.4.3, libavif can built with rav1e. For CocoaPods user, you can simply use the subspec for this. Carthage for optional rav1c codec is not supported currently.
74+
From v0.4.3, libavif can built with rav1e. For CocoaPods user, you can simply use the subspec for this. Carthage/SPM for optional rav1c codec is not supported currently.
7575

76-
Note before librav1e v0.6.1, it only support iOS && macOS. watchOS and tvOS is avaiable from v0.6.2 with the latest Rust toolchain. And for visionOS supports need Rust community upstream support. For latest integration, check or fire issues in https://github.com/SDWebImage/librav1e-Xcode.
76+
Note: The librav1e on CocoaPods use pre-built static-linking binary. Which means, it can not be used for CocoaPods's dynamic-linking.
77+
78+
To use for framework package format (CocoaPods defaults use ar archive format), you should write something like this:
79+
80+
```ruby
81+
use_frameworks! :linkage => :static
82+
```
83+
84+
but not this:
85+
86+
```ruby
87+
use_frameworks!
88+
# use_frameworks! :linkage => :dynamic
89+
```
90+
91+
Note: before librav1e v0.6.1, it only support iOS && macOS. watchOS and tvOS is avaiable from v0.6.2 with the latest Rust toolchain. And for visionOS supports need Rust community upstream support. For latest integration, check or fire issues in https://github.com/SDWebImage/librav1e-Xcode.
7792

7893
### SVT-AV1 (Encoding)
7994

0 commit comments

Comments
 (0)