Skip to content

Commit

Permalink
[expo-sqlite] moved contents of SQLCipher subspec to top level
Browse files Browse the repository at this point in the history
  • Loading branch information
gurs1kh committed May 12, 2020
1 parent be86ed2 commit c9408af
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions packages/expo-sqlite/ios/EXSQLite.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,10 @@ Pod::Spec.new do |s|
s.dependency 'UMCore'
s.dependency 'UMFileSystemInterface'

s.subspec 'SQLCipher' do |ss|
ss.dependency 'SQLCipher', '>= 3.4.0'
ss.xcconfig = {
'OTHER_SWIFT_FLAGS' => '$(inherited) -D SQLITE_HAS_CODEC -D SQLITE_ENABLE_FTS5',
'OTHER_CFLAGS' => '$(inherited) -DSQLITE_HAS_CODEC -DSQLITE_ENABLE_FTS5',
'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) SQLITE_HAS_CODEC=1 SQLITE_ENABLE_FTS5=1'
}
end
s.dependency 'SQLCipher', '>= 3.4.0'
s.xcconfig = {
'OTHER_SWIFT_FLAGS' => '$(inherited) -D SQLITE_HAS_CODEC -D SQLITE_ENABLE_FTS5',
'OTHER_CFLAGS' => '$(inherited) -DSQLITE_HAS_CODEC -DSQLITE_ENABLE_FTS5',
'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) SQLITE_HAS_CODEC=1 SQLITE_ENABLE_FTS5=1'
}
end

0 comments on commit c9408af

Please sign in to comment.