diff --git a/Auth0.podspec b/Auth0.podspec index 0dbe3c30..ce0c435a 100644 --- a/Auth0.podspec +++ b/Auth0.podspec @@ -41,6 +41,7 @@ Pod::Spec.new do |s| s.source = { :git => 'https://github.com/auth0/Auth0.swift.git', :tag => s.version.to_s } s.social_media_url = 'https://twitter.com/auth0' s.source_files = 'Auth0/*.swift' + s.resources = "Auth0/PrivacyInfo.xcprivacy" s.swift_versions = ['5.7', '5.8'] s.dependency 'SimpleKeychain', '~> 1.1' diff --git a/Auth0.xcodeproj/project.pbxproj b/Auth0.xcodeproj/project.pbxproj index 7af04f01..a4fb965a 100644 --- a/Auth0.xcodeproj/project.pbxproj +++ b/Auth0.xcodeproj/project.pbxproj @@ -323,6 +323,10 @@ 970BC36C25C27095007A7745 /* Challenge.swift in Sources */ = {isa = PBXBuildFile; fileRef = 970BC36A25C27095007A7745 /* Challenge.swift */; }; 970BC36D25C27095007A7745 /* Challenge.swift in Sources */ = {isa = PBXBuildFile; fileRef = 970BC36A25C27095007A7745 /* Challenge.swift */; }; 970BC36E25C27095007A7745 /* Challenge.swift in Sources */ = {isa = PBXBuildFile; fileRef = 970BC36A25C27095007A7745 /* Challenge.swift */; }; + A7DDDF6C2BC9A81E0077B067 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = A7DDDF6B2BC9A81E0077B067 /* PrivacyInfo.xcprivacy */; }; + A7DDDF6D2BC9A81E0077B067 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = A7DDDF6B2BC9A81E0077B067 /* PrivacyInfo.xcprivacy */; }; + A7DDDF6E2BC9A81E0077B067 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = A7DDDF6B2BC9A81E0077B067 /* PrivacyInfo.xcprivacy */; }; + A7DDDF702BC9A93F0077B067 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = A7DDDF6B2BC9A81E0077B067 /* PrivacyInfo.xcprivacy */; }; D581CF772757D773007327D1 /* RequestSpec.swift in Sources */ = {isa = PBXBuildFile; fileRef = D581CF762757D773007327D1 /* RequestSpec.swift */; }; D581CF782757D773007327D1 /* RequestSpec.swift in Sources */ = {isa = PBXBuildFile; fileRef = D581CF762757D773007327D1 /* RequestSpec.swift */; }; D581CF792757D773007327D1 /* RequestSpec.swift in Sources */ = {isa = PBXBuildFile; fileRef = D581CF762757D773007327D1 /* RequestSpec.swift */; }; @@ -594,6 +598,7 @@ 5FE686A91D1894AA0075874C /* TelemetrySpec.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TelemetrySpec.swift; sourceTree = ""; }; 5FF465BB1CE2AC4500F7ED8C /* Management.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = Management.swift; path = Auth0/Management.swift; sourceTree = SOURCE_ROOT; }; 970BC36A25C27095007A7745 /* Challenge.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Challenge.swift; sourceTree = ""; }; + A7DDDF6B2BC9A81E0077B067 /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = PrivacyInfo.xcprivacy; sourceTree = ""; }; D581CF762757D773007327D1 /* RequestSpec.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RequestSpec.swift; sourceTree = ""; }; D5E9E316273ACCA5000CDB0A /* ChallengeGenerator.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ChallengeGenerator.swift; sourceTree = ""; }; /* End PBXFileReference section */ @@ -851,6 +856,7 @@ 5F06DDC81CC66B710011842B /* Auth0.swift */, 5FD255B61D14F00900387ECB /* Auth0Error.swift */, 5C6513A62791CDDE004EBC22 /* Version.swift */, + A7DDDF6B2BC9A81E0077B067 /* PrivacyInfo.xcprivacy */, ); path = Auth0; sourceTree = ""; @@ -1433,6 +1439,7 @@ isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( + A7DDDF6C2BC9A81E0077B067 /* PrivacyInfo.xcprivacy in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -1440,6 +1447,7 @@ isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( + A7DDDF6D2BC9A81E0077B067 /* PrivacyInfo.xcprivacy in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -1463,6 +1471,7 @@ isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( + A7DDDF702BC9A93F0077B067 /* PrivacyInfo.xcprivacy in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -1470,6 +1479,7 @@ isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( + A7DDDF6E2BC9A81E0077B067 /* PrivacyInfo.xcprivacy in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; diff --git a/Auth0/PrivacyInfo.xcprivacy b/Auth0/PrivacyInfo.xcprivacy new file mode 100644 index 00000000..3985e9bb --- /dev/null +++ b/Auth0/PrivacyInfo.xcprivacy @@ -0,0 +1,27 @@ + + + + + NSPrivacyAccessedAPITypes + + NSPrivacyTracking + + NSPrivacyTrackingDomains + + NSPrivacyCollectedDataTypes + + + NSPrivacyCollectedDataTypePurposes + + NSPrivacyCollectedDataTypePurposeAppFunctionality + + NSPrivacyCollectedDataTypeTracking + + NSPrivacyCollectedDataTypeLinked + + NSPrivacyCollectedDataType + NSPrivacyCollectedDataTypeUserID + + + + diff --git a/Gemfile.lock b/Gemfile.lock index b0eba0b3..d99fbdae 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -293,4 +293,4 @@ DEPENDENCIES slather BUNDLED WITH - 2.4.10 \ No newline at end of file + 2.4.10 diff --git a/Package.swift b/Package.swift index 7612fc59..24b65120 100644 --- a/Package.swift +++ b/Package.swift @@ -25,6 +25,7 @@ let package = Package( ], path: "Auth0", exclude: ["Info.plist"], + resources: [.copy("PrivacyInfo.xcprivacy")], swiftSettings: swiftSettings), .testTarget( name: "Auth0Tests",