diff --git a/Package.swift b/Package.swift
index 4d1568fe..997346e1 100644
--- a/Package.swift
+++ b/Package.swift
@@ -23,6 +23,9 @@ let package = Package(
],
sources: [
"SplunkRum",
+ ],
+ resources: [
+ .copy("PrivacyInfo.xcprivacy")
]
)
]
diff --git a/PrivacyInfo.xcprivacy b/PrivacyInfo.xcprivacy
new file mode 100644
index 00000000..badc5a63
--- /dev/null
+++ b/PrivacyInfo.xcprivacy
@@ -0,0 +1,21 @@
+
+
+
+
+ NSPrivacyCollectedDataTypes
+
+
+ NSPrivacyCollectedDataType
+ NSPrivacyCollectedDataTypePerformanceData
+ NSPrivacyCollectedDataTypeLinked
+
+ NSPrivacyCollectedDataTypeTracking
+
+ NSPrivacyCollectedDataTypePurposes
+
+ NSPrivacyCollectedDataTypePurposeAppFunctionality
+
+
+
+
+
diff --git a/SplunkOtel.podspec b/SplunkOtel.podspec
index 04bf1418..d342c8db 100644
--- a/SplunkOtel.podspec
+++ b/SplunkOtel.podspec
@@ -31,4 +31,5 @@ DESC
# Make sure the deployment target matches with Package.swift
s.ios.deployment_target = '11.0'
s.source_files = 'SplunkRumWorkspace/SplunkRum/SplunkRum/**/*.swift'
-end
\ No newline at end of file
+ s.resource_bundles = {'SplunkRum' => ['PrivacyInfo.xcprivacy']}
+end
diff --git a/SplunkRumWorkspace/SplunkRum/SplunkRum.xcodeproj/project.pbxproj b/SplunkRumWorkspace/SplunkRum/SplunkRum.xcodeproj/project.pbxproj
index 5aaae9bf..e119a846 100644
--- a/SplunkRumWorkspace/SplunkRum/SplunkRum.xcodeproj/project.pbxproj
+++ b/SplunkRumWorkspace/SplunkRum/SplunkRum.xcodeproj/project.pbxproj
@@ -3,7 +3,7 @@
archiveVersion = 1;
classes = {
};
- objectVersion = 52;
+ objectVersion = 54;
objects = {
/* Begin PBXBuildFile section */
@@ -139,6 +139,7 @@
E2AFDA052847C529000F53BF /* SpanFromDiskExporterTest.swift in Sources */ = {isa = PBXBuildFile; fileRef = E2AFDA042847C529000F53BF /* SpanFromDiskExporterTest.swift */; };
E2AFDA072847C678000F53BF /* DiskExportCommon.swift in Sources */ = {isa = PBXBuildFile; fileRef = E2AFDA062847C678000F53BF /* DiskExportCommon.swift */; };
E2AFDA092847DAC8000F53BF /* DiskExportPipelineTest.swift in Sources */ = {isa = PBXBuildFile; fileRef = E2AFDA082847DAC8000F53BF /* DiskExportPipelineTest.swift */; };
+ E2E93B8A2BDFD23B007D1EEC /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = E2E93B892BDFD23B007D1EEC /* PrivacyInfo.xcprivacy */; };
/* End PBXBuildFile section */
/* Begin PBXContainerItemProxy section */
@@ -305,6 +306,7 @@
E2AFDA042847C529000F53BF /* SpanFromDiskExporterTest.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SpanFromDiskExporterTest.swift; sourceTree = ""; };
E2AFDA062847C678000F53BF /* DiskExportCommon.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DiskExportCommon.swift; sourceTree = ""; };
E2AFDA082847DAC8000F53BF /* DiskExportPipelineTest.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DiskExportPipelineTest.swift; sourceTree = ""; };
+ E2E93B892BDFD23B007D1EEC /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; name = PrivacyInfo.xcprivacy; path = ../../PrivacyInfo.xcprivacy; sourceTree = ""; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
@@ -340,6 +342,7 @@
86260EBA25CDC1DE009F3CB1 = {
isa = PBXGroup;
children = (
+ E2E93B892BDFD23B007D1EEC /* PrivacyInfo.xcprivacy */,
86260EC625CDC1DE009F3CB1 /* SplunkRum */,
86260ED125CDC1DE009F3CB1 /* SplunkRumTests */,
E2AFD9F128473F7A000F53BF /* SplunkRumDiskExportTests */,
@@ -851,6 +854,7 @@
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
+ E2E93B8A2BDFD23B007D1EEC /* PrivacyInfo.xcprivacy in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};