diff --git a/SDWebImage.podspec b/SDWebImage.podspec index 94754f59..a5b31561 100644 --- a/SDWebImage.podspec +++ b/SDWebImage.podspec @@ -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|