@@ -34,6 +34,7 @@ Pod::Spec.new do |s|
34
34
ss . source_files = 'Sources/SQLite/**/*.{c,h,m,swift}'
35
35
ss . exclude_files = 'Sources/**/Cipher.swift'
36
36
ss . library = 'sqlite3'
37
+ ss . resource_bundle = { 'SQLite.swift' => 'Sources/SQLite/PrivacyInfo.xcprivacy' }
37
38
38
39
ss . ios . deployment_target = ios_deployment_target
39
40
ss . tvos . deployment_target = tvos_deployment_target
@@ -53,6 +54,7 @@ Pod::Spec.new do |s|
53
54
s . subspec 'standalone' do |ss |
54
55
ss . source_files = 'Sources/SQLite/**/*.{c,h,m,swift}'
55
56
ss . exclude_files = 'Sources/**/Cipher.swift'
57
+ ss . resource_bundle = { 'SQLite.swift' => 'Sources/SQLite/PrivacyInfo.xcprivacy' }
56
58
57
59
ss . xcconfig = {
58
60
'OTHER_SWIFT_FLAGS' => '$(inherited) -DSQLITE_SWIFT_STANDALONE' ,
@@ -77,6 +79,8 @@ Pod::Spec.new do |s|
77
79
78
80
s . subspec 'SQLCipher' do |ss |
79
81
ss . source_files = 'Sources/SQLite/**/*.{c,h,m,swift}'
82
+ ss . resource_bundle = { 'SQLite.swift' => 'Sources/SQLite/PrivacyInfo.xcprivacy' }
83
+
80
84
ss . xcconfig = {
81
85
'OTHER_SWIFT_FLAGS' => '$(inherited) -DSQLITE_SWIFT_SQLCIPHER' ,
82
86
'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) SQLITE_HAS_CODEC=1 SQLITE_SWIFT_SQLCIPHER=1'
0 commit comments