Kaynağa Gözat

Update Podspec for MapKit supports catalyst

DreamPiggy 6 yıl önce
ebeveyn
işleme
cb2baac522
1 değiştirilmiş dosya ile 5 ekleme ve 4 silme
  1. 5 4
      SDWebImage.podspec

+ 5 - 4
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|