Ver código fonte

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

Marcin Krzyżanowski 8 anos atrás
pai
commit
43c5e9ed3a
1 arquivos alterados com 1 adições e 0 exclusões
  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