Bläddra i källkod

Update podspec support Swift 2.3

kishikawa katsumi 9 år sedan
förälder
incheckning
fcd5e92f95
1 ändrade filer med 14 tillägg och 14 borttagningar
  1. 14 14
      KeychainAccess.podspec

+ 14 - 14
KeychainAccess.podspec

@@ -1,7 +1,7 @@
 Pod::Spec.new do |s|
 Pod::Spec.new do |s|
-  s.name             = "KeychainAccess"
-  s.version          = "2.4.0"
-  s.summary          = "KeychainAccess is a simple Swift wrapper for Keychain that works on iOS and OS X."
+  s.name             = 'KeychainAccess'
+  s.version          = '2.4.0'
+  s.summary          = 'KeychainAccess is a simple Swift wrapper for Keychain that works on iOS and OS X.'
   s.description      = <<-DESC
   s.description      = <<-DESC
                          KeychainAccess is a simple Swift wrapper for Keychain that works on iOS and OS X.
                          KeychainAccess is a simple Swift wrapper for Keychain that works on iOS and OS X.
                          Makes using Keychain APIs exremely easy and much more palatable to use in Swift.
                          Makes using Keychain APIs exremely easy and much more palatable to use in Swift.
@@ -16,20 +16,20 @@ Pod::Spec.new do |s|
                            - Works on both iOS & OS X
                            - Works on both iOS & OS X
                            - watchOS and tvOS are also supported
                            - watchOS and tvOS are also supported
                        DESC
                        DESC
-  s.homepage         = "https://github.com/kishikawakatsumi/KeychainAccess"
-  s.screenshots      = "https://raw.githubusercontent.com/kishikawakatsumi/KeychainAccess/master/Screenshots/01.png"
+  s.homepage         = 'https://github.com/kishikawakatsumi/KeychainAccess'
+  s.screenshots      = 'https://raw.githubusercontent.com/kishikawakatsumi/KeychainAccess/master/Screenshots/01.png'
   s.license          = 'MIT'
   s.license          = 'MIT'
-  s.author           = { "kishikawa katsumi" => "kishikawakatsumi@mac.com" }
-  s.source           = { :git => "https://github.com/kishikawakatsumi/KeychainAccess.git", :tag => "v#{s.version}" }
+  s.author           = { 'kishikawa katsumi' => 'kishikawakatsumi@mac.com' }
+  s.source           = { :git => 'https://github.com/kishikawakatsumi/KeychainAccess.git', :tag => "v#{s.version}" }
   s.social_media_url = 'https://twitter.com/k_katsumi'
   s.social_media_url = 'https://twitter.com/k_katsumi'
-
-  s.ios.deployment_target = "8.0"
-  s.osx.deployment_target = "10.9"
-  s.watchos.deployment_target = '2.0'
-  s.tvos.deployment_target = '9.0'
+  
   s.requires_arc = true
   s.requires_arc = true
-
   s.source_files = 'Lib/KeychainAccess/*.swift'
   s.source_files = 'Lib/KeychainAccess/*.swift'
 
 
-  s.pod_target_xcconfig = { "SWIFT_VERSION" => "2.3" }
+  s.pod_target_xcconfig = { 'SWIFT_VERSION' => '2.3' }
+
+  s.ios.deployment_target = '8.0'
+  s.osx.deployment_target = '10.9'
+  s.watchos.deployment_target = '2.0'
+  s.tvos.deployment_target = '9.0'
 end
 end