Skip to content

Commit

Permalink
Update podspec to include privacy manifest
Browse files Browse the repository at this point in the history
Update `podspec` to include privacy manifest
  • Loading branch information
SagarSDagdu committed Apr 18, 2024
1 parent 15fe07e commit 5d3db22
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions SQLite.swift.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ Pod::Spec.new do |s|
ss.source_files = 'Sources/SQLite/**/*.{c,h,m,swift}'
ss.exclude_files = 'Sources/**/Cipher.swift'
ss.library = 'sqlite3'
ss.resource_bundle = { 'SQLite.swift' => 'Sources/SQLite/PrivacyInfo.xcprivacy' }

ss.ios.deployment_target = ios_deployment_target
ss.tvos.deployment_target = tvos_deployment_target
Expand All @@ -53,6 +54,7 @@ Pod::Spec.new do |s|
s.subspec 'standalone' do |ss|
ss.source_files = 'Sources/SQLite/**/*.{c,h,m,swift}'
ss.exclude_files = 'Sources/**/Cipher.swift'
ss.resource_bundle = { 'SQLite.swift' => 'Sources/SQLite/PrivacyInfo.xcprivacy' }

ss.xcconfig = {
'OTHER_SWIFT_FLAGS' => '$(inherited) -DSQLITE_SWIFT_STANDALONE',
Expand All @@ -77,6 +79,8 @@ Pod::Spec.new do |s|

s.subspec 'SQLCipher' do |ss|
ss.source_files = 'Sources/SQLite/**/*.{c,h,m,swift}'
ss.resource_bundle = { 'SQLite.swift' => 'Sources/SQLite/PrivacyInfo.xcprivacy' }

ss.xcconfig = {
'OTHER_SWIFT_FLAGS' => '$(inherited) -DSQLITE_SWIFT_SQLCIPHER',
'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) SQLITE_HAS_CODEC=1 SQLITE_SWIFT_SQLCIPHER=1'
Expand Down

0 comments on commit 5d3db22

Please # to comment.