Skip to content

Commit

Permalink
Merge pull request #57 from SDWebImage/bugfix/dependency
Browse files Browse the repository at this point in the history
The dependency should be "libavif/core" instead of default subspecs
  • Loading branch information
dreampiggy authored Sep 28, 2023
2 parents 989e4b6 + 791bde0 commit 079994d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Example/Podfile
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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 079994d

Please sign in to comment.