diff --git a/GRDB.swift.podspec b/GRDB.swift.podspec index 0c76d755e..d25e3a8bd 100644 --- a/GRDB.swift.podspec +++ b/GRDB.swift.podspec @@ -18,6 +18,7 @@ Pod::Spec.new do |s| s.subspec 'standard' do |ss| ss.source_files = 'GRDB/**/*.swift', 'Support/grdb_config.h' + ss.resources = 'GRDB/PrivacyInfo.xcprivacy' ss.framework = 'Foundation' ss.library = 'sqlite3' ss.xcconfig = { @@ -27,6 +28,7 @@ Pod::Spec.new do |s| s.subspec 'SQLCipher' do |ss| ss.source_files = 'GRDB/**/*.swift', 'Support/SQLCipher_config.h' + ss.resources = 'GRDB/PrivacyInfo.xcprivacy' ss.framework = 'Foundation' ss.dependency 'SQLCipher', '>= 3.4.2' ss.xcconfig = { diff --git a/GRDB.xcodeproj/project.pbxproj b/GRDB.xcodeproj/project.pbxproj index ab984574b..97e31563d 100755 --- a/GRDB.xcodeproj/project.pbxproj +++ b/GRDB.xcodeproj/project.pbxproj @@ -852,6 +852,7 @@ 56FF453F1D2C23BA00F21EF9 /* TableRecordDeleteTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TableRecordDeleteTests.swift; sourceTree = ""; }; 56FF45551D2CDA5200F21EF9 /* RecordUniqueIndexTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RecordUniqueIndexTests.swift; sourceTree = ""; }; 6340BF7F1E5E3F7900832805 /* RecordPersistenceConflictPolicy.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RecordPersistenceConflictPolicy.swift; sourceTree = ""; }; + 648704AD2B7E66390036480B /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = PrivacyInfo.xcprivacy; sourceTree = ""; }; C96C0F242084A442006B2981 /* SQLiteDateParser.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SQLiteDateParser.swift; sourceTree = ""; }; D263F40926C613090038B07F /* DatabaseColumnEncodingStrategyTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DatabaseColumnEncodingStrategyTests.swift; sourceTree = ""; }; DC2393C61ABE35F8003FF113 /* GRDB-Bridging.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "GRDB-Bridging.h"; sourceTree = ""; }; @@ -1737,6 +1738,7 @@ children = ( 56A2FA3524424D2A00E97D23 /* Export.swift */, 566DDE0C288D763C0000DCFB /* Fixits.swift */, + 648704AD2B7E66390036480B /* PrivacyInfo.xcprivacy */, 56A2386F1B9C75030082EB20 /* Core */, 567B5BDF2AD3284100629622 /* Dump */, 5698AC291D9E5A480056AF8C /* FTS */, diff --git a/GRDB/PrivacyInfo.xcprivacy b/GRDB/PrivacyInfo.xcprivacy new file mode 100644 index 000000000..d75908da0 --- /dev/null +++ b/GRDB/PrivacyInfo.xcprivacy @@ -0,0 +1,14 @@ + + + + + NSPrivacyTracking + + NSPrivacyCollectedDataTypes + + NSPrivacyTrackingDomains + + NSPrivacyAccessedAPITypes + + + diff --git a/Package.swift b/Package.swift index dfd0d59fa..a6f51175e 100644 --- a/Package.swift +++ b/Package.swift @@ -53,6 +53,7 @@ let package = Package( name: "GRDB", dependencies: ["CSQLite"], path: "GRDB", + resources: [.copy("PrivacyInfo.xcprivacy")], cSettings: cSettings, swiftSettings: swiftSettings), .testTarget(