1
1
Pod ::Spec . new do |s |
2
2
s . name = "SQLite.swift"
3
- s . version = "0.12.1 "
3
+ s . version = "0.12.2 "
4
4
s . summary = "A type-safe, Swift-language layer over SQLite3 for iOS and macOS."
5
5
6
6
s . description = <<-DESC
@@ -15,14 +15,19 @@ Pod::Spec.new do |s|
15
15
s . social_media_url = 'https://twitter.com/stephencelis'
16
16
17
17
s . module_name = 'SQLite'
18
- s . ios . deployment_target = "8.0"
19
- s . tvos . deployment_target = "9.1"
20
- s . osx . deployment_target = "10.10"
21
- s . watchos . deployment_target = "2.2"
22
18
s . default_subspec = 'standard'
23
- s . pod_target_xcconfig = {
24
- 'SWIFT_VERSION' => '5' ,
25
- }
19
+ s . swift_versions = [ '4.2' , '5' ]
20
+
21
+
22
+ ios_deployment_target = '8.0'
23
+ tvos_deployment_target = '9.1'
24
+ osx_deployment_target = '10.10'
25
+ watchos_deployment_target = '2.2'
26
+
27
+ s . ios . deployment_target = ios_deployment_target
28
+ s . tvos . deployment_target = tvos_deployment_target
29
+ s . osx . deployment_target = osx_deployment_target
30
+ s . watchos . deployment_target = watchos_deployment_target
26
31
27
32
s . subspec 'standard' do |ss |
28
33
ss . source_files = 'Sources/{SQLite,SQLiteObjc}/**/*.{c,h,m,swift}'
@@ -33,6 +38,9 @@ Pod::Spec.new do |s|
33
38
ss . test_spec 'tests' do |test_spec |
34
39
test_spec . resources = 'Tests/SQLiteTests/fixtures/*'
35
40
test_spec . source_files = 'Tests/SQLiteTests/*.swift'
41
+ test_spec . ios . deployment_target = ios_deployment_target
42
+ test_spec . tvos . deployment_target = tvos_deployment_target
43
+ test_spec . osx . deployment_target = osx_deployment_target
36
44
end
37
45
end
38
46
@@ -49,6 +57,9 @@ Pod::Spec.new do |s|
49
57
ss . test_spec 'tests' do |test_spec |
50
58
test_spec . resources = 'Tests/SQLiteTests/fixtures/*'
51
59
test_spec . source_files = 'Tests/SQLiteTests/*.swift'
60
+ test_spec . ios . deployment_target = ios_deployment_target
61
+ test_spec . tvos . deployment_target = tvos_deployment_target
62
+ test_spec . osx . deployment_target = osx_deployment_target
52
63
end
53
64
end
54
65
@@ -64,6 +75,9 @@ Pod::Spec.new do |s|
64
75
ss . test_spec 'tests' do |test_spec |
65
76
test_spec . resources = 'Tests/SQLiteTests/fixtures/*'
66
77
test_spec . source_files = 'Tests/SQLiteTests/*.swift'
78
+ test_spec . ios . deployment_target = ios_deployment_target
79
+ test_spec . tvos . deployment_target = tvos_deployment_target
80
+ test_spec . osx . deployment_target = osx_deployment_target
67
81
end
68
82
end
69
83
end
0 commit comments