diff --git a/Alamofire.xcodeproj/project.pbxproj b/Alamofire.xcodeproj/project.pbxproj --- a/Alamofire.xcodeproj/project.pbxproj +++ b/Alamofire.xcodeproj/project.pbxproj @@ -613,6 +613,7 @@ /* End PBXContainerItemProxy section */ /* Begin PBXFileReference section */ + 0AEC95C92AF5419400CD241A /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = PrivacyInfo.xcprivacy; sourceTree = ""; }; 3106FB6023F8C53A007FAB43 /* ProtectedTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ProtectedTests.swift; sourceTree = ""; }; 3106FB6423F8D9E0007FAB43 /* DataStreamTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DataStreamTests.swift; sourceTree = ""; }; 3111CE8720A77843008315E2 /* EventMonitor.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = EventMonitor.swift; sourceTree = ""; }; @@ -1199,6 +1200,7 @@ isa = PBXGroup; children = ( F8111E3719A95C8B0040E7D1 /* Info.plist */, + 0AEC95C92AF5419400CD241A /* PrivacyInfo.xcprivacy */, ); name = "Supporting Files"; sourceTree = ""; diff --git a/Package.swift b/Package.swift --- a/Package.swift +++ b/Package.swift @@ -41,7 +41,8 @@ let package = Package(name: "Alamofire", .when(platforms: [.iOS, .macOS, .tvOS, - .watchOS]))]), + .watchOS]))] + resources: [.copy("PrivacyInfo.xcprivacy")]), .testTarget(name: "AlamofireTests", dependencies: ["Alamofire"], path: "Tests", diff --git a/Source/PrivacyInfo.xcprivacy b/Source/PrivacyInfo.xcprivacy --- /dev/null +++ b/Source/PrivacyInfo.xcprivacy @@ -0,0 +1,23 @@ + + + + + NSPrivacyTracking + + NSPrivacyTrackingDomains + + NSPrivacyCollectedDataTypes + + NSPrivacyAccessedAPITypes + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategorySystemBootTime + NSPrivacyAccessedAPITypeReasons + + 35F9.1 + + + + +