1
1
Pod ::Spec . new do |s |
2
2
3
3
s . name = "IDZSwiftCommonCrypto"
4
- s . version = "0.8.2 "
4
+ s . version = "0.8.3 "
5
5
s . summary = "A wrapper for Apple's Common Crypto library written in Swift."
6
6
7
7
s . homepage = "https://github.com/iosdevzone/IDZSwiftCommonCrypto"
8
8
s . license = "MIT"
9
9
s . author = { "iOSDevZone" => "idz@iosdeveloperzone.com" }
10
10
s . social_media_url = "http://twitter.com/iOSDevZone"
11
11
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 '
14
14
s . tvos . deployment_target = '9.0'
15
15
s . watchos . deployment_target = '2.0'
16
16
@@ -24,13 +24,15 @@ Pod::Spec.new do |s|
24
24
echo 'Running prepare_command'
25
25
pwd
26
26
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 .
34
36
35
37
CMD
36
38
41
43
42
44
# Make sure we can find the dummy frameworks
43
45
s . xcconfig = {
46
+ "SWIFT_VERSION" => "2.3" ,
44
47
"SWIFT_INCLUDE_PATHS" => "${PODS_ROOT}/IDZSwiftCommonCrypto/Frameworks/$(PLATFORM_NAME)" ,
45
48
"FRAMEWORK_SEARCH_PATHS" => "${PODS_ROOT}/IDZSwiftCommonCrypto/Frameworks/$(PLATFORM_NAME)"
46
49
}
0 commit comments