Browse Source

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 years ago
parent
commit
8a2b085bac
1 changed files with 1 additions and 1 deletions
  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.source       = { :git => "https://github.com/onevcat/Kingfisher.git", :tag => s.version }
 
 
   s.default_subspecs = "Core"
   s.default_subspecs = "Core"
-  s.pod_target_xcconfig = { 'OTHER_SWIFT_FLAGS' => '-DKingfisherCocoaPods' }
 
 
   s.requires_arc = true
   s.requires_arc = true
   s.frameworks = "CFNetwork", "Accelerate"
   s.frameworks = "CFNetwork", "Accelerate"
@@ -54,6 +53,7 @@ Pod::Spec.new do |s|
     sp.tvos.deployment_target = "13.0"
     sp.tvos.deployment_target = "13.0"
     sp.osx.deployment_target = "10.15"
     sp.osx.deployment_target = "10.15"
     sp.watchos.deployment_target = "6.0"
     sp.watchos.deployment_target = "6.0"
+    sp.pod_target_xcconfig = { 'OTHER_SWIFT_FLAGS' => '-DKingfisherCocoaPods' }
   end
   end
 
 
 end
 end