diff --git a/Package.swift b/Package.swift index 8f2dfbc..46384f0 100644 --- a/Package.swift +++ b/Package.swift @@ -27,6 +27,9 @@ let package = Package( .product(name: "SwiftToolsSupport-auto", package: "swift-tools-support-core"), .product(name: "IndexStoreDB", package: "indexstore-db"), .product(name: "Logging", package: "swift-log"), + ], + resources: [ + .copy("Resources/PrivacyInfo.xcprivacy") ] ), .testTarget( diff --git a/Package@swift-5.5.swift b/Package@swift-5.5.swift index 30ff74b..1494591 100644 --- a/Package@swift-5.5.swift +++ b/Package@swift-5.5.swift @@ -27,6 +27,9 @@ let package = Package( .product(name: "SwiftToolsSupport-auto", package: "swift-tools-support-core"), .product(name: "IndexStoreDB", package: "indexstore-db"), .product(name: "Logging", package: "swift-log"), + ], + resources: [ + .copy("Resources/PrivacyInfo.xcprivacy") ] ), .testTarget( diff --git a/Package@swift-5.6.swift b/Package@swift-5.6.swift index dea373d..5aad330 100644 --- a/Package@swift-5.6.swift +++ b/Package@swift-5.6.swift @@ -27,6 +27,9 @@ let package = Package( .product(name: "SwiftToolsSupport-auto", package: "swift-tools-support-core"), .product(name: "IndexStoreDB", package: "indexstore-db"), .product(name: "Logging", package: "swift-log"), + ], + resources: [ + .copy("Resources/PrivacyInfo.xcprivacy") ] ), .testTarget( diff --git a/Package@swift-5.7.swift b/Package@swift-5.7.swift index 41bcdcc..68ab941 100644 --- a/Package@swift-5.7.swift +++ b/Package@swift-5.7.swift @@ -27,6 +27,9 @@ let package = Package( .product(name: "SwiftToolsSupport-auto", package: "swift-tools-support-core"), .product(name: "IndexStoreDB", package: "indexstore-db"), .product(name: "Logging", package: "swift-log"), + ], + resources: [ + .copy("Resources/PrivacyInfo.xcprivacy") ] ), .testTarget( diff --git a/Sources/IndexStore/PrivacyInfo.xcprivacy b/Sources/IndexStore/Resources/PrivacyInfo.xcprivacy similarity index 54% rename from Sources/IndexStore/PrivacyInfo.xcprivacy rename to Sources/IndexStore/Resources/PrivacyInfo.xcprivacy index 511f385..1eb0823 100644 --- a/Sources/IndexStore/PrivacyInfo.xcprivacy +++ b/Sources/IndexStore/Resources/PrivacyInfo.xcprivacy @@ -5,20 +5,7 @@ NSPrivacyTracking NSPrivacyCollectedDataTypes - - - NSPrivacyCollectedDataType - - NSPrivacyCollectedDataTypeLinked - - NSPrivacyCollectedDataTypeTracking - - NSPrivacyCollectedDataTypePurposes - - - - - + NSPrivacyTrackingDomains NSPrivacyAccessedAPITypes