Pārlūkot izejas kodu

Move podspec config to SwiftUI subspec

This seems to only be used by the SwiftUI sources so it doesn't need to
be at the top level.
Keith Smiley 6 gadi atpakaļ
vecāks
revīzija
8a2b085bac
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      Kingfisher.podspec

+ 1 - 1
Kingfisher.podspec

@@ -36,7 +36,6 @@ Pod::Spec.new do |s|
   s.source       = { :git => "https://github.com/onevcat/Kingfisher.git", :tag => s.version }
 
   s.default_subspecs = "Core"
-  s.pod_target_xcconfig = { 'OTHER_SWIFT_FLAGS' => '-DKingfisherCocoaPods' }
 
   s.requires_arc = true
   s.frameworks = "CFNetwork", "Accelerate"
@@ -54,6 +53,7 @@ Pod::Spec.new do |s|
     sp.tvos.deployment_target = "13.0"
     sp.osx.deployment_target = "10.15"
     sp.watchos.deployment_target = "6.0"
+    sp.pod_target_xcconfig = { 'OTHER_SWIFT_FLAGS' => '-DKingfisherCocoaPods' }
   end
 
 end