Skip to content

Commit 0a9893e

Browse files
authored
Merge pull request #941 from stephencelis/prepare-0.12.1
0.12.2
2 parents 8ce3694 + 1116367 commit 0a9893e

File tree

3 files changed

+24
-10
lines changed

3 files changed

+24
-10
lines changed

SQLite.swift.podspec

Lines changed: 22 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = "SQLite.swift"
3-
s.version = "0.12.1"
3+
s.version = "0.12.2"
44
s.summary = "A type-safe, Swift-language layer over SQLite3 for iOS and macOS."
55

66
s.description = <<-DESC
@@ -15,14 +15,19 @@ Pod::Spec.new do |s|
1515
s.social_media_url = 'https://twitter.com/stephencelis'
1616

1717
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"
2218
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
2631

2732
s.subspec 'standard' do |ss|
2833
ss.source_files = 'Sources/{SQLite,SQLiteObjc}/**/*.{c,h,m,swift}'
@@ -33,6 +38,9 @@ Pod::Spec.new do |s|
3338
ss.test_spec 'tests' do |test_spec|
3439
test_spec.resources = 'Tests/SQLiteTests/fixtures/*'
3540
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
3644
end
3745
end
3846

@@ -49,6 +57,9 @@ Pod::Spec.new do |s|
4957
ss.test_spec 'tests' do |test_spec|
5058
test_spec.resources = 'Tests/SQLiteTests/fixtures/*'
5159
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
5263
end
5364
end
5465

@@ -64,6 +75,9 @@ Pod::Spec.new do |s|
6475
ss.test_spec 'tests' do |test_spec|
6576
test_spec.resources = 'Tests/SQLiteTests/fixtures/*'
6677
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
6781
end
6882
end
6983
end

Sources/SQLite/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>FMWK</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>0.12.1</string>
18+
<string>0.12.2</string>
1919
<key>CFBundleSignature</key>
2020
<string>????</string>
2121
<key>CFBundleVersion</key>

Sources/SQLite/SQLite.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
FOUNDATION_EXPORT double SQLiteVersionNumber;
44
FOUNDATION_EXPORT const unsigned char SQLiteVersionString[];
55

6-
#import <SQLite/SQLiteObjc.h>
6+
#import "SQLiteObjc.h"

0 commit comments

Comments
 (0)