@@ -34,6 +34,7 @@ Pod::Spec.new do |s|
3434 ss . source_files = 'Sources/SQLite/**/*.{c,h,m,swift}'
3535 ss . exclude_files = 'Sources/**/Cipher.swift'
3636 ss . library = 'sqlite3'
37+ ss . resource_bundle = { 'SQLite.swift' => 'Sources/SQLite/PrivacyInfo.xcprivacy' }
3738
3839 ss . ios . deployment_target = ios_deployment_target
3940 ss . tvos . deployment_target = tvos_deployment_target
@@ -53,6 +54,7 @@ Pod::Spec.new do |s|
5354 s . subspec 'standalone' do |ss |
5455 ss . source_files = 'Sources/SQLite/**/*.{c,h,m,swift}'
5556 ss . exclude_files = 'Sources/**/Cipher.swift'
57+ ss . resource_bundle = { 'SQLite.swift' => 'Sources/SQLite/PrivacyInfo.xcprivacy' }
5658
5759 ss . xcconfig = {
5860 'OTHER_SWIFT_FLAGS' => '$(inherited) -DSQLITE_SWIFT_STANDALONE' ,
@@ -77,6 +79,8 @@ Pod::Spec.new do |s|
7779
7880 s . subspec 'SQLCipher' do |ss |
7981 ss . source_files = 'Sources/SQLite/**/*.{c,h,m,swift}'
82+ ss . resource_bundle = { 'SQLite.swift' => 'Sources/SQLite/PrivacyInfo.xcprivacy' }
83+
8084 ss . xcconfig = {
8185 'OTHER_SWIFT_FLAGS' => '$(inherited) -DSQLITE_SWIFT_SQLCIPHER' ,
8286 'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) SQLITE_HAS_CODEC=1 SQLITE_SWIFT_SQLCIPHER=1'
0 commit comments