Explorar o código

Merge pull request #875 from hcanzonetta/patch-1

Add swift_version to spec
Wei Wang %!s(int64=8) %!d(string=hai) anos
pai
achega
03b208e9fc
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      Kingfisher.podspec

+ 2 - 2
Kingfisher.podspec

@@ -25,6 +25,8 @@ Pod::Spec.new do |s|
   s.authors            = { "onevcat" => "onevcat@gmail.com" }
   s.authors            = { "onevcat" => "onevcat@gmail.com" }
   s.social_media_url   = "http://twitter.com/onevcat"
   s.social_media_url   = "http://twitter.com/onevcat"
 
 
+  s.swift_version = "4.0"
+
   s.ios.deployment_target = "8.0"
   s.ios.deployment_target = "8.0"
   s.tvos.deployment_target = "9.0"
   s.tvos.deployment_target = "9.0"
   s.osx.deployment_target = "10.10"
   s.osx.deployment_target = "10.10"
@@ -50,6 +52,4 @@ Pod::Spec.new do |s|
   s.requires_arc = true
   s.requires_arc = true
   s.framework = "CFNetwork"
   s.framework = "CFNetwork"
 
 
-  s.pod_target_xcconfig = { 'SWIFT_VERSION' => '4.0' }
-
 end
 end