Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 22 additions & 8 deletions SQLite.swift.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "SQLite.swift"
s.version = "0.12.1"
s.version = "0.12.2"
s.summary = "A type-safe, Swift-language layer over SQLite3 for iOS and macOS."

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

s.module_name = 'SQLite'
s.ios.deployment_target = "8.0"
s.tvos.deployment_target = "9.1"
s.osx.deployment_target = "10.10"
s.watchos.deployment_target = "2.2"
s.default_subspec = 'standard'
s.pod_target_xcconfig = {
'SWIFT_VERSION' => '5',
}
s.swift_versions = ['4.2', '5']


ios_deployment_target = '8.0'
tvos_deployment_target = '9.1'
osx_deployment_target = '10.10'
watchos_deployment_target = '2.2'

s.ios.deployment_target = ios_deployment_target
s.tvos.deployment_target = tvos_deployment_target
s.osx.deployment_target = osx_deployment_target
s.watchos.deployment_target = watchos_deployment_target

s.subspec 'standard' do |ss|
ss.source_files = 'Sources/{SQLite,SQLiteObjc}/**/*.{c,h,m,swift}'
Expand All @@ -33,6 +38,9 @@ Pod::Spec.new do |s|
ss.test_spec 'tests' do |test_spec|
test_spec.resources = 'Tests/SQLiteTests/fixtures/*'
test_spec.source_files = 'Tests/SQLiteTests/*.swift'
test_spec.ios.deployment_target = ios_deployment_target
test_spec.tvos.deployment_target = tvos_deployment_target
test_spec.osx.deployment_target = osx_deployment_target
end
end

Expand All @@ -49,6 +57,9 @@ Pod::Spec.new do |s|
ss.test_spec 'tests' do |test_spec|
test_spec.resources = 'Tests/SQLiteTests/fixtures/*'
test_spec.source_files = 'Tests/SQLiteTests/*.swift'
test_spec.ios.deployment_target = ios_deployment_target
test_spec.tvos.deployment_target = tvos_deployment_target
test_spec.osx.deployment_target = osx_deployment_target
end
end

Expand All @@ -64,6 +75,9 @@ Pod::Spec.new do |s|
ss.test_spec 'tests' do |test_spec|
test_spec.resources = 'Tests/SQLiteTests/fixtures/*'
test_spec.source_files = 'Tests/SQLiteTests/*.swift'
test_spec.ios.deployment_target = ios_deployment_target
test_spec.tvos.deployment_target = tvos_deployment_target
test_spec.osx.deployment_target = osx_deployment_target
end
end
end
2 changes: 1 addition & 1 deletion Sources/SQLite/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>0.12.1</string>
<string>0.12.2</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down
2 changes: 1 addition & 1 deletion Sources/SQLite/SQLite.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
FOUNDATION_EXPORT double SQLiteVersionNumber;
FOUNDATION_EXPORT const unsigned char SQLiteVersionString[];

#import <SQLite/SQLiteObjc.h>
#import "SQLiteObjc.h"