浏览代码

Set SWIFT_VERSION for CocoaPods. Fixes #432 #395 #342 #314

Marcin Krzyżanowski 8 年之前
父节点
当前提交
c7cf4274cb
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      CryptoSwift.podspec

+ 1 - 0
CryptoSwift.podspec

@@ -13,5 +13,6 @@ Pod::Spec.new do |s|
   s.watchos.deployment_target = "2.0"
   s.tvos.deployment_target = "9.0"
   s.source_files  = "Sources/CryptoSwift/**/*.swift"
+  s.pod_target_xcconfig = { 'SWIFT_VERSION' => '3.0', 'SWIFT_OPTIMIZATION_LEVEL' = '-Owholemodule' }
   s.requires_arc = true
 end