Update Podspec for MapKit supports catalyst

This commit is contained in:
DreamPiggy 2019-08-13 13:23:13 +08:00
parent 3f248552b3
commit cb2baac522
1 changed files with 5 additions and 4 deletions

View File

@ -26,14 +26,15 @@ Pod::Spec.new do |s|
s.default_subspec = 'Core'
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.exclude_files = 'SDWebImage/MapKit/*.{h,m}'
core.private_header_files = 'SDWebImage/Private/*.h'
core.pod_target_xcconfig = {
'SUPPORTS_MACCATALYST' => 'YES',
'DERIVE_MACCATALYST_PRODUCT_BUNDLE_IDENTIFIER' => 'NO'
}
end
s.subspec 'MapKit' do |mk|