SDWebImage/SDWebImage.podspec

51 lines
2.0 KiB
Plaintext
Raw Normal View History

2012-07-12 05:14:29 +08:00
Pod::Spec.new do |s|
2013-01-16 19:10:45 +08:00
s.name = 'SDWebImage'
s.version = '5.18.10'
s.osx.deployment_target = '10.11'
s.ios.deployment_target = '9.0'
2015-10-31 00:36:10 +08:00
s.tvos.deployment_target = '9.0'
s.watchos.deployment_target = '2.0'
s.visionos.deployment_target = "1.0"
2013-01-16 19:10:45 +08:00
s.license = 'MIT'
s.summary = 'Asynchronous image downloader with cache support with an UIImageView category.'
2018-10-24 17:34:55 +08:00
s.homepage = 'https://github.com/SDWebImage/SDWebImage'
2013-01-16 19:10:45 +08:00
s.author = { 'Olivier Poitrey' => 'rs@dailymotion.com' }
2018-10-24 17:34:55 +08:00
s.source = { :git => 'https://github.com/SDWebImage/SDWebImage.git', :tag => s.version.to_s }
2012-07-12 05:14:29 +08:00
s.description = 'This library provides a category for UIImageView with support for remote ' \
2013-01-16 19:10:45 +08:00
'images coming from the web. It provides an UIImageView category adding web ' \
'image and cache management to the Cocoa Touch framework, an asynchronous ' \
'image downloader, an asynchronous memory + disk image caching with automatic ' \
'cache expiration handling, a guarantee that the same URL won\'t be downloaded ' \
'several times, a guarantee that bogus URLs won\'t be retried again and again, ' \
'and performances!'
2012-07-12 05:14:29 +08:00
2013-01-16 19:10:45 +08:00
s.requires_arc = true
2012-09-12 19:02:33 +08:00
s.framework = 'ImageIO'
s.default_subspec = 'Core'
2012-07-12 05:14:29 +08:00
s.pod_target_xcconfig = {
'SUPPORTS_MACCATALYST' => 'YES',
'DERIVE_MACCATALYST_PRODUCT_BUNDLE_IDENTIFIER' => 'NO'
}
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'
end
2013-01-16 19:10:45 +08:00
s.subspec 'MapKit' do |mk|
mk.osx.deployment_target = '10.11'
mk.ios.deployment_target = '9.0'
mk.tvos.deployment_target = '9.0'
mk.visionos.deployment_target = "1.0"
2020-04-19 12:39:00 +08:00
mk.source_files = 'SDWebImageMapKit/MapKit/*.{h,m}'
2013-01-16 19:10:45 +08:00
mk.framework = 'MapKit'
2013-08-14 15:57:20 +08:00
mk.dependency 'SDWebImage/Core'
2013-01-16 19:10:45 +08:00
end
s.resource_bundles = {'SDWebImage' => ['WebImage/PrivacyInfo.xcprivacy']}
2012-07-12 05:14:29 +08:00
end