Skip to content

Commit c7cf427

Browse files
committed
Set SWIFT_VERSION for CocoaPods. Fixes #432 #395 #342 #314
1 parent d2e3491 commit c7cf427

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CryptoSwift.podspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,6 @@ Pod::Spec.new do |s|
1313
s.watchos.deployment_target = "2.0"
1414
s.tvos.deployment_target = "9.0"
1515
s.source_files = "Sources/CryptoSwift/**/*.swift"
16+
s.pod_target_xcconfig = { 'SWIFT_VERSION' => '3.0', 'SWIFT_OPTIMIZATION_LEVEL' = '-Owholemodule' }
1617
s.requires_arc = true
1718
end

0 commit comments

Comments
 (0)