Fix the CocoaPods podspec when using SDWebImage/Core only
Which will cause the resource bundle missing
This commit is contained in:
parent
ad555bbdd9
commit
3d7b0038b8
|
@ -10,6 +10,7 @@ See [all tickets marked for the 5.19.2 release](https://github.com/SDWebImage/SD
|
|||
- - This is the canonical release of binary framework. Import [certifacate](https://github.com/SDWebImage/SDWebImage/blob/master/Certificate/SDWebImage%20Signing%20Certificate.cer) and verify the [public key](https://github.com/SDWebImage/SDWebImage/blob/master/Certificate/SDWebImage%20Signing%20Certificate.pem) when you download the binary framework from unknown sources to avoid supply chain attack.
|
||||
- - For Carthage user who build its own SDWebImage binary framwork, you must sign yourself.
|
||||
- - See more in https://developer.apple.com/documentation/Xcode/verifying-the-origin-of-your-xcframeworks
|
||||
- Fix CocoaPods resource bundle when using only `SDWebImage/Core`
|
||||
|
||||
## [5.19.1 - 5.9 Patch, on Mar 26th, 2024](https://github.com/rs/SDWebImage/releases/tag/5.19.1)
|
||||
See [all tickets marked for the 5.19.1 release](https://github.com/SDWebImage/SDWebImage/milestone/133)
|
||||
|
|
|
@ -35,6 +35,7 @@ Pod::Spec.new do |s|
|
|||
s.subspec 'Core' do |core|
|
||||
core.source_files = 'SDWebImage/Core/*.{h,m}', 'WebImage/SDWebImage.h', 'SDWebImage/Private/*.{h,m}'
|
||||
core.private_header_files = 'SDWebImage/Private/*.h'
|
||||
core.resource_bundles = {'SDWebImage' => ['WebImage/PrivacyInfo.xcprivacy']}
|
||||
end
|
||||
|
||||
s.subspec 'MapKit' do |mk|
|
||||
|
@ -46,5 +47,4 @@ Pod::Spec.new do |s|
|
|||
mk.framework = 'MapKit'
|
||||
mk.dependency 'SDWebImage/Core'
|
||||
end
|
||||
s.resource_bundles = {'SDWebImage' => ['WebImage/PrivacyInfo.xcprivacy']}
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue