-
Notifications
You must be signed in to change notification settings - Fork 35
/
Copy pathRxGRDB.podspec
34 lines (29 loc) · 1.11 KB
/
RxGRDB.podspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
Pod::Spec.new do |s|
s.name = 'RxGRDB'
s.version = '3.0.0'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.summary = 'Reactive extensions for GRDB.swift.'
s.homepage = 'https://github.com/RxSwiftCommunity/RxGRDB'
s.author = { 'Gwendal Roué' => '[email protected]' }
s.source = { :git => 'https://github.com/RxSwiftCommunity/RxGRDB.git', :tag => "v#{s.version}" }
s.module_name = 'RxGRDB'
s.swift_versions = ['5.7']
s.ios.deployment_target = '11.0'
s.osx.deployment_target = '10.13'
s.watchos.deployment_target = '4.0'
s.tvos.deployment_target = '11.0'
s.dependency "RxSwift", "~> 6.0"
s.default_subspec = 'default'
s.subspec 'default' do |ss|
ss.source_files = 'Sources/RxGRDB/**/*.{swift}'
ss.dependency "GRDB.swift", "~> 6.0"
end
s.subspec 'SQLCipher' do |ss|
ss.source_files = 'Sources/RxGRDB/**/*.{swift}'
ss.dependency "GRDB.swift/SQLCipher", "~> 6.0"
ss.xcconfig = {
'OTHER_SWIFT_FLAGS' => '$(inherited) -DSQLITE_HAS_CODEC -DUSING_SQLCIPHER',
'OTHER_CFLAGS' => '$(inherited) -DSQLITE_HAS_CODEC -DUSING_SQLCIPHER',
}
end
end