Skip to content

Commit 079994d

Browse files
authored
Merge pull request #57 from SDWebImage/bugfix/dependency
The dependency should be "libavif/core" instead of default subspecs
2 parents 989e4b6 + 791bde0 commit 079994d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Example/Podfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ install! 'cocoapods', :generate_multiple_pod_projects => true
33
target 'SDWebImageAVIFCoder_Example' do
44
platform :ios, '9.0'
55
pod 'SDWebImageAVIFCoder', :path => '../'
6-
pod 'libavif', :subspecs => ['libaom', 'libdav1d']
6+
pod 'libavif', :subspecs => ['core', 'librav1e', 'libdav1d']
77

88
target 'SDWebImageAVIFCoder_Tests' do
99
inherit! :search_paths
@@ -13,11 +13,11 @@ end
1313
target 'SDWebImageAVIFCoder_Example macOS' do
1414
platform :osx, '10.11'
1515
pod 'SDWebImageAVIFCoder', :path => '../'
16-
pod 'libavif', :subspecs => ['libaom', 'libdav1d']
16+
pod 'libavif', :subspecs => ['core', 'librav1e', 'libdav1d']
1717
end
1818

1919
target 'SDWebImageAVIFCoder_Example CLI' do
2020
platform :osx, '10.11'
2121
pod 'SDWebImageAVIFCoder', :path => '../'
22-
pod 'libavif', :subspecs => ['libaom', 'libdav1d']
22+
pod 'libavif', :subspecs => ['core', 'librav1e', 'libdav1d']
2323
end

SDWebImageAVIFCoder.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,6 @@ Which is built based on the open-sourced libavif codec.
4040
}
4141

4242
s.dependency 'SDWebImage', '~> 5.10'
43-
s.dependency 'libavif', '>= 0.11.0'
43+
s.dependency 'libavif/core', '>= 0.11.0'
4444
s.libraries = 'c++'
4545
end

0 commit comments

Comments
 (0)