26 lines
957 B
Ruby
26 lines
957 B
Ruby
Pod::Spec.new do |s|
|
|
s.name = 'GRDBCipher'
|
|
s.version = '0.108.0'
|
|
|
|
s.license = { :type => 'MIT', :file => 'LICENSE' }
|
|
s.summary = 'A Swift application toolkit for SQLite databases.'
|
|
s.homepage = 'https://github.com/groue/GRDB.swift'
|
|
s.author = { 'Gwendal Roué' => 'gr@pierlis.com' }
|
|
s.source = { :git => 'https://github.com/groue/GRDB.swift.git', :tag => "v#{s.version}" }
|
|
s.module_name = 'GRDBCipher'
|
|
|
|
s.ios.deployment_target = '8.0'
|
|
s.osx.deployment_target = '10.9'
|
|
s.watchos.deployment_target = '2.0'
|
|
|
|
s.source_files = 'GRDB/**/*.swift', 'SQLCipher/*.h', 'Support/grdb_config.{c,h}'
|
|
s.module_map = 'SQLCipher/module.modulemap'
|
|
s.xcconfig = {
|
|
'OTHER_SWIFT_FLAGS' => '$(inherited) -DSQLITE_HAS_CODEC -DGRDBCIPHER',
|
|
'OTHER_CFLAGS' => '$(inherited) -DSQLITE_HAS_CODEC -DGRDBCIPHER',
|
|
'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) SQLITE_HAS_CODEC=1'
|
|
}
|
|
s.framework = 'Foundation'
|
|
s.dependency 'SQLCipher', '~> 3.4.0'
|
|
end
|