Restore GRDB.swift.podspec, introduce GRDBCipher.podspec

This commit is contained in:
Gwendal Roué committed 2017-05-17 13:27:03 +02:00
1 parent c66c0a11b6
commit f1a9cdaa8e
5 files changed
+36 -27

No files matched your search

+25
View File
@@ -0,0 +1,25 @@
Pod::Spec.new do |s|
s.name = 'GRDBCipher'
s.version = '0.107.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 -DUSING_SQLCIPHER',
'OTHER_CFLAGS' => '$(inherited) -DSQLITE_HAS_CODEC -DUSING_SQLCIPHER',
'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) SQLITE_HAS_CODEC=1'
}
s.framework = 'Foundation'
s.dependency 'SQLCipher', '~> 3.4.0'
end