Skip to content

Commit 33482b8

Browse files
committed
RUM-3291 Add Crash Reporting privacy manifest
1 parent 6e5f79f commit 33482b8

File tree

5 files changed

+40
-1
lines changed

5 files changed

+40
-1
lines changed

Datadog/Datadog.xcodeproj/project.pbxproj

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1112,6 +1112,8 @@
11121112
D2A7841229A53B2F003B03BB /* File.swift in Sources */ = {isa = PBXBuildFile; fileRef = 61133BAC2423979B00786299 /* File.swift */; };
11131113
D2A7A8FF2BA1C24A00F46845 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = D2A7A8FE2BA1C24A00F46845 /* PrivacyInfo.xcprivacy */; };
11141114
D2A7A9002BA1C24A00F46845 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = D2A7A8FE2BA1C24A00F46845 /* PrivacyInfo.xcprivacy */; };
1115+
D2A7A9022BA1C4B100F46845 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = D2A7A9012BA1C4B100F46845 /* PrivacyInfo.xcprivacy */; };
1116+
D2A7A9032BA1C4B100F46845 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = D2A7A9012BA1C4B100F46845 /* PrivacyInfo.xcprivacy */; };
11151117
D2B249942A4598FE00DD4F9F /* LoggerProtocol+Internal.swift in Sources */ = {isa = PBXBuildFile; fileRef = D2B249932A4598FE00DD4F9F /* LoggerProtocol+Internal.swift */; };
11161118
D2B249952A4598FE00DD4F9F /* LoggerProtocol+Internal.swift in Sources */ = {isa = PBXBuildFile; fileRef = D2B249932A4598FE00DD4F9F /* LoggerProtocol+Internal.swift */; };
11171119
D2B249972A45E10500DD4F9F /* LoggerTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = D2B249962A45E10500DD4F9F /* LoggerTests.swift */; };
@@ -2660,6 +2662,7 @@
26602662
D2A7840129A534F9003B03BB /* DatadogLogsTests tvOS.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "DatadogLogsTests tvOS.xctest"; sourceTree = BUILT_PRODUCTS_DIR; };
26612663
D2A7840229A536AD003B03BB /* PrintFunctionMock.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PrintFunctionMock.swift; sourceTree = "<group>"; };
26622664
D2A7A8FE2BA1C24A00F46845 /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; lastKnownFileType = text.xml; name = PrivacyInfo.xcprivacy; path = ../Resources/PrivacyInfo.xcprivacy; sourceTree = "<group>"; };
2665+
D2A7A9012BA1C4B100F46845 /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; lastKnownFileType = text.xml; name = PrivacyInfo.xcprivacy; path = ../Resources/PrivacyInfo.xcprivacy; sourceTree = "<group>"; };
26632666
D2B249932A4598FE00DD4F9F /* LoggerProtocol+Internal.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "LoggerProtocol+Internal.swift"; sourceTree = "<group>"; };
26642667
D2B249962A45E10500DD4F9F /* LoggerTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LoggerTests.swift; sourceTree = "<group>"; };
26652668
D2B3F0432823EE8300C2B5EE /* DataBlockTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DataBlockTests.swift; sourceTree = "<group>"; };
@@ -4428,6 +4431,7 @@
44284431
6170DC1325C1864B003AED5C /* DatadogCrashReporting */ = {
44294432
isa = PBXGroup;
44304433
children = (
4434+
D2A7A9012BA1C4B100F46845 /* PrivacyInfo.xcprivacy */,
44314435
6161247825CA9CA6009901BE /* CrashReporting.swift */,
44324436
61DE333525C8278A008E3EC2 /* CrashReportingPlugin.swift */,
44334437
D293302B2A137DAD0029C9EA /* CrashReportingFeature.swift */,
@@ -7001,6 +7005,7 @@
70017005
isa = PBXResourcesBuildPhase;
70027006
buildActionMask = 2147483647;
70037007
files = (
7008+
D2A7A9022BA1C4B100F46845 /* PrivacyInfo.xcprivacy in Resources */,
70047009
);
70057010
runOnlyForDeploymentPostprocessing = 0;
70067011
};
@@ -7152,6 +7157,7 @@
71527157
isa = PBXResourcesBuildPhase;
71537158
buildActionMask = 2147483647;
71547159
files = (
7160+
D2A7A9032BA1C4B100F46845 /* PrivacyInfo.xcprivacy in Resources */,
71557161
);
71567162
runOnlyForDeploymentPostprocessing = 0;
71577163
};

DatadogCrashReporting.podspec

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,8 @@ Pod::Spec.new do |s|
2424
s.source_files = "DatadogCrashReporting/Sources/**/*.swift"
2525
s.dependency 'DatadogInternal', s.version.to_s
2626
s.dependency 'PLCrashReporter', '~> 1.11.1'
27+
28+
s.resource_bundle = {
29+
"DatadogPrivacyInfo" => "DatadogCrashReporting/Resources/PrivacyInfo.xcprivacy"
30+
}
2731
end
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
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>NSPrivacyCollectedDataTypes</key>
6+
<array>
7+
<dict>
8+
<key>NSPrivacyCollectedDataType</key>
9+
<string>NSPrivacyCollectedDataTypeCrashData</string>
10+
<key>NSPrivacyCollectedDataTypeLinked</key>
11+
<false/>
12+
<key>NSPrivacyCollectedDataTypeTracking</key>
13+
<false/>
14+
<key>NSPrivacyCollectedDataTypePurposes</key>
15+
<array>
16+
<string>NSPrivacyCollectedDataTypePurposeAppFunctionality</string>
17+
</array>
18+
</dict>
19+
</array>
20+
</dict>
21+
</plist>

DatadogSDKCrashReporting.podspec

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,8 @@ Pod::Spec.new do |s|
2727
s.source_files = "DatadogCrashReporting/Sources/**/*.swift"
2828
s.dependency 'DatadogInternal', s.version.to_s
2929
s.dependency 'PLCrashReporter', '~> 1.11.1'
30+
31+
s.resource_bundle = {
32+
"DatadogPrivacyInfo" => "DatadogCrashReporting/Resources/PrivacyInfo.xcprivacy"
33+
}
3034
end

Package.swift

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,11 @@ let package = Package(
155155
.target(name: "DatadogCrashReporting"),
156156
.target(name: "TestUtilities"),
157157
],
158-
path: "DatadogCrashReporting/Tests"
158+
path: "DatadogCrashReporting",
159+
sources: ["Sources"],
160+
resources: [
161+
.copy("Resources/PrivacyInfo.xcprivacy")
162+
]
159163
),
160164

161165
.target(

0 commit comments

Comments
 (0)