Skip to content

Commit

Permalink
The dependency should dependency libavif/core instead of default subs…
Browse files Browse the repository at this point in the history
…pecs
  • Loading branch information
dreampiggy committed Sep 28, 2023
1 parent 989e4b6 commit 791bde0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Example/Podfile
Expand Up @@ -3,7 +3,7 @@ install! 'cocoapods', :generate_multiple_pod_projects => true
target 'SDWebImageAVIFCoder_Example' do
platform :ios, '9.0'
pod 'SDWebImageAVIFCoder', :path => '../'
pod 'libavif', :subspecs => ['libaom', 'libdav1d']
pod 'libavif', :subspecs => ['core', 'librav1e', 'libdav1d']

target 'SDWebImageAVIFCoder_Tests' do
inherit! :search_paths
Expand All @@ -13,11 +13,11 @@ end
target 'SDWebImageAVIFCoder_Example macOS' do
platform :osx, '10.11'
pod 'SDWebImageAVIFCoder', :path => '../'
pod 'libavif', :subspecs => ['libaom', 'libdav1d']
pod 'libavif', :subspecs => ['core', 'librav1e', 'libdav1d']
end

target 'SDWebImageAVIFCoder_Example CLI' do
platform :osx, '10.11'
pod 'SDWebImageAVIFCoder', :path => '../'
pod 'libavif', :subspecs => ['libaom', 'libdav1d']
pod 'libavif', :subspecs => ['core', 'librav1e', 'libdav1d']
end
2 changes: 1 addition & 1 deletion SDWebImageAVIFCoder.podspec
Expand Up @@ -40,6 +40,6 @@ Which is built based on the open-sourced libavif codec.
}

s.dependency 'SDWebImage', '~> 5.10'
s.dependency 'libavif', '>= 0.11.0'
s.dependency 'libavif/core', '>= 0.11.0'
s.libraries = 'c++'
end

0 comments on commit 791bde0

Please sign in to comment.