Skip to content

Commit 1a0180f

Browse files
authored
chore: Add privacy manifest to Auth0.Swift (#841)
2 parents eadc5a2 + 6119110 commit 1a0180f

File tree

5 files changed

+40
-1
lines changed

5 files changed

+40
-1
lines changed

Auth0.podspec

+1
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ Pod::Spec.new do |s|
4141
s.source = { :git => 'https://github.com/auth0/Auth0.swift.git', :tag => s.version.to_s }
4242
s.social_media_url = 'https://twitter.com/auth0'
4343
s.source_files = 'Auth0/*.swift'
44+
s.resources = "Auth0/PrivacyInfo.xcprivacy"
4445
s.swift_versions = ['5.7', '5.8']
4546

4647
s.dependency 'SimpleKeychain', '~> 1.1'

Auth0.xcodeproj/project.pbxproj

+10
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,10 @@
323323
970BC36C25C27095007A7745 /* Challenge.swift in Sources */ = {isa = PBXBuildFile; fileRef = 970BC36A25C27095007A7745 /* Challenge.swift */; };
324324
970BC36D25C27095007A7745 /* Challenge.swift in Sources */ = {isa = PBXBuildFile; fileRef = 970BC36A25C27095007A7745 /* Challenge.swift */; };
325325
970BC36E25C27095007A7745 /* Challenge.swift in Sources */ = {isa = PBXBuildFile; fileRef = 970BC36A25C27095007A7745 /* Challenge.swift */; };
326+
A7DDDF6C2BC9A81E0077B067 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = A7DDDF6B2BC9A81E0077B067 /* PrivacyInfo.xcprivacy */; };
327+
A7DDDF6D2BC9A81E0077B067 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = A7DDDF6B2BC9A81E0077B067 /* PrivacyInfo.xcprivacy */; };
328+
A7DDDF6E2BC9A81E0077B067 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = A7DDDF6B2BC9A81E0077B067 /* PrivacyInfo.xcprivacy */; };
329+
A7DDDF702BC9A93F0077B067 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = A7DDDF6B2BC9A81E0077B067 /* PrivacyInfo.xcprivacy */; };
326330
D581CF772757D773007327D1 /* RequestSpec.swift in Sources */ = {isa = PBXBuildFile; fileRef = D581CF762757D773007327D1 /* RequestSpec.swift */; };
327331
D581CF782757D773007327D1 /* RequestSpec.swift in Sources */ = {isa = PBXBuildFile; fileRef = D581CF762757D773007327D1 /* RequestSpec.swift */; };
328332
D581CF792757D773007327D1 /* RequestSpec.swift in Sources */ = {isa = PBXBuildFile; fileRef = D581CF762757D773007327D1 /* RequestSpec.swift */; };
@@ -594,6 +598,7 @@
594598
5FE686A91D1894AA0075874C /* TelemetrySpec.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TelemetrySpec.swift; sourceTree = "<group>"; };
595599
5FF465BB1CE2AC4500F7ED8C /* Management.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = Management.swift; path = Auth0/Management.swift; sourceTree = SOURCE_ROOT; };
596600
970BC36A25C27095007A7745 /* Challenge.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Challenge.swift; sourceTree = "<group>"; };
601+
A7DDDF6B2BC9A81E0077B067 /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = PrivacyInfo.xcprivacy; sourceTree = "<group>"; };
597602
D581CF762757D773007327D1 /* RequestSpec.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RequestSpec.swift; sourceTree = "<group>"; };
598603
D5E9E316273ACCA5000CDB0A /* ChallengeGenerator.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ChallengeGenerator.swift; sourceTree = "<group>"; };
599604
/* End PBXFileReference section */
@@ -851,6 +856,7 @@
851856
5F06DDC81CC66B710011842B /* Auth0.swift */,
852857
5FD255B61D14F00900387ECB /* Auth0Error.swift */,
853858
5C6513A62791CDDE004EBC22 /* Version.swift */,
859+
A7DDDF6B2BC9A81E0077B067 /* PrivacyInfo.xcprivacy */,
854860
);
855861
path = Auth0;
856862
sourceTree = "<group>";
@@ -1433,13 +1439,15 @@
14331439
isa = PBXResourcesBuildPhase;
14341440
buildActionMask = 2147483647;
14351441
files = (
1442+
A7DDDF6C2BC9A81E0077B067 /* PrivacyInfo.xcprivacy in Resources */,
14361443
);
14371444
runOnlyForDeploymentPostprocessing = 0;
14381445
};
14391446
5F06DD831CC448C90011842B /* Resources */ = {
14401447
isa = PBXResourcesBuildPhase;
14411448
buildActionMask = 2147483647;
14421449
files = (
1450+
A7DDDF6D2BC9A81E0077B067 /* PrivacyInfo.xcprivacy in Resources */,
14431451
);
14441452
runOnlyForDeploymentPostprocessing = 0;
14451453
};
@@ -1463,13 +1471,15 @@
14631471
isa = PBXResourcesBuildPhase;
14641472
buildActionMask = 2147483647;
14651473
files = (
1474+
A7DDDF702BC9A93F0077B067 /* PrivacyInfo.xcprivacy in Resources */,
14661475
);
14671476
runOnlyForDeploymentPostprocessing = 0;
14681477
};
14691478
5F23E6F41D4B87F000C3F2D9 /* Resources */ = {
14701479
isa = PBXResourcesBuildPhase;
14711480
buildActionMask = 2147483647;
14721481
files = (
1482+
A7DDDF6E2BC9A81E0077B067 /* PrivacyInfo.xcprivacy in Resources */,
14731483
);
14741484
runOnlyForDeploymentPostprocessing = 0;
14751485
};

Auth0/PrivacyInfo.xcprivacy

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>NSPrivacyAccessedAPITypes</key>
6+
<array/>
7+
<key>NSPrivacyTracking</key>
8+
<false/>
9+
<key>NSPrivacyTrackingDomains</key>
10+
<array/>
11+
<key>NSPrivacyCollectedDataTypes</key>
12+
<array>
13+
<dict>
14+
<key>NSPrivacyCollectedDataTypePurposes</key>
15+
<array>
16+
<string>NSPrivacyCollectedDataTypePurposeAppFunctionality</string>
17+
</array>
18+
<key>NSPrivacyCollectedDataTypeTracking</key>
19+
<false/>
20+
<key>NSPrivacyCollectedDataTypeLinked</key>
21+
<true/>
22+
<key>NSPrivacyCollectedDataType</key>
23+
<string>NSPrivacyCollectedDataTypeUserID</string>
24+
</dict>
25+
</array>
26+
</dict>
27+
</plist>

Gemfile.lock

+1-1
Original file line numberDiff line numberDiff line change
@@ -293,4 +293,4 @@ DEPENDENCIES
293293
slather
294294

295295
BUNDLED WITH
296-
2.4.10
296+
2.4.10

Package.swift

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ let package = Package(
2525
],
2626
path: "Auth0",
2727
exclude: ["Info.plist"],
28+
resources: [.copy("PrivacyInfo.xcprivacy")],
2829
swiftSettings: swiftSettings),
2930
.testTarget(
3031
name: "Auth0Tests",

0 commit comments

Comments
 (0)