瀏覽代碼

Update podspec support Swift 2.3

kishikawa katsumi 9 年之前
父節點
當前提交
fcd5e92f95
共有 1 個文件被更改,包括 14 次插入14 次删除
  1. 14 14
      KeychainAccess.podspec

+ 14 - 14
KeychainAccess.podspec

@@ -1,7 +1,7 @@
 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
                          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.
@@ -16,20 +16,20 @@ Pod::Spec.new do |s|
                            - Works on both iOS & OS X
                            - watchOS and tvOS are also supported
                        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.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.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.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