Skip to content
Open

1 #1

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
7 changes: 3 additions & 4 deletions YapDatabase.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,19 @@ Pod::Spec.new do |s|
# use a builtin version of sqlite3
s.subspec 'standard' do |ss|
ss.library = 'sqlite3'
ss.dependency 'CocoaLumberjack', '~> 1'
ss.dependency 'CocoaLumberjack', '~> 2'
ss.source_files = 'YapDatabase/**/*.{h,m,mm}'
ss.private_header_files = 'YapDatabase/**/Internal/*.h'
ss.xcconfig = { 'OTHER_LDFLAGS' => '-weak_library /usr/lib/libc++.dylib' }
ss.requires_arc = true
end

# use SQLCipher and enable -DSQLITE_HAS_CODEC flag
s.subspec 'SQLCipher' do |ss|
ss.dependency 'SQLCipher/fts'
ss.dependency 'CocoaLumberjack', '~> 1'
ss.dependency 'CocoaLumberjack', '~> 2'
ss.source_files = 'YapDatabase/**/*.{h,m,mm}'
ss.private_header_files = 'YapDatabase/**/Internal/*.h'
ss.xcconfig = { 'OTHER_LDFLAGS' => '-weak_library /usr/lib/libc++.dylib', 'OTHER_CFLAGS' => '$(inherited) -DSQLITE_HAS_CODEC' }
ss.xcconfig = { 'OTHER_CFLAGS' => '$(inherited) -DSQLITE_HAS_CODEC' }
ss.requires_arc = true
end

Expand Down