From cb2baac522714f17684b4e774e96991da6f6db38 Mon Sep 17 00:00:00 2001 From: DreamPiggy Date: Tue, 13 Aug 2019 13:23:13 +0800 Subject: [PATCH] Update Podspec for MapKit supports catalyst --- SDWebImage.podspec | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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|