11Pod ::Spec . new do |s |
22
33 s . name = "IDZSwiftCommonCrypto"
4- s . version = "0.8.2 "
4+ s . version = "0.8.3 "
55 s . summary = "A wrapper for Apple's Common Crypto library written in Swift."
66
77 s . homepage = "https://github.com/iosdevzone/IDZSwiftCommonCrypto"
88 s . license = "MIT"
99 s . author = { "iOSDevZone" => "[email protected] " } 1010 s . social_media_url = "http://twitter.com/iOSDevZone"
1111
12- s . osx . deployment_target = '10.10 '
13- s . ios . deployment_target = '8.0 '
12+ s . osx . deployment_target = '10.11 '
13+ s . ios . deployment_target = '9.3 '
1414 s . tvos . deployment_target = '9.0'
1515 s . watchos . deployment_target = '2.0'
1616
@@ -24,13 +24,15 @@ Pod::Spec.new do |s|
2424 echo 'Running prepare_command'
2525 pwd
2626 echo Running GenerateCommonCryptoModule
27- swift ./GenerateCommonCryptoModule.swift macosx .
28- swift ./GenerateCommonCryptoModule.swift iphonesimulator .
29- swift ./GenerateCommonCryptoModule.swift iphoneos .
30- swift ./GenerateCommonCryptoModule.swift appletvsimulator .
31- swift ./GenerateCommonCryptoModule.swift appletvos .
32- swift ./GenerateCommonCryptoModule.swift watchsimulator .
33- swift ./GenerateCommonCryptoModule.swift watchos .
27+ TC="--toolchain com.apple.dt.toolchain.Swift_2_3"
28+ SWIFT="xcrun $TC swift"
29+ $SWIFT ./GenerateCommonCryptoModule.swift macosx .
30+ $SWIFT ./GenerateCommonCryptoModule.swift iphonesimulator .
31+ $SWIFT ./GenerateCommonCryptoModule.swift iphoneos .
32+ $SWIFT ./GenerateCommonCryptoModule.swift appletvsimulator .
33+ $SWIFT ./GenerateCommonCryptoModule.swift appletvos .
34+ $SWIFT ./GenerateCommonCryptoModule.swift watchsimulator .
35+ $SWIFT ./GenerateCommonCryptoModule.swift watchos .
3436
3537CMD
3638
4143
4244 # Make sure we can find the dummy frameworks
4345 s . xcconfig = {
46+ "SWIFT_VERSION" => "2.3" ,
4447 "SWIFT_INCLUDE_PATHS" => "${PODS_ROOT}/IDZSwiftCommonCrypto/Frameworks/$(PLATFORM_NAME)" ,
4548 "FRAMEWORK_SEARCH_PATHS" => "${PODS_ROOT}/IDZSwiftCommonCrypto/Frameworks/$(PLATFORM_NAME)"
4649 }
0 commit comments