Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add in PrivacyInfo.xcprivacy #98

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ let package = Package(
.library(name: "UIDeviceComplete", targets: ["UIDeviceComplete"])
],
targets: [
.target(name: "UIDeviceComplete", path: "Sources"),
.target(name: "UIDeviceComplete", resources: [.process("PrivacyInfo.xcprivacy")], path: "Sources"),
],
swiftLanguageVersions: [.v5]
)
4 changes: 4 additions & 0 deletions UIDeviceComplete.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
objects = {

/* Begin PBXBuildFile section */
4EF4F1102C4569760013D8F0 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 4EF4F10F2C4569760013D8F0 /* PrivacyInfo.xcprivacy */; };
AA1C219D1F385BEC0095BFBD /* DeviceFamily.swift in Sources */ = {isa = PBXBuildFile; fileRef = AA1C21961F385BEC0095BFBD /* DeviceFamily.swift */; };
AA1C219E1F385BEC0095BFBD /* DeviceModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = AA1C21971F385BEC0095BFBD /* DeviceModel.swift */; };
AA1C219F1F385BEC0095BFBD /* Identifier.swift in Sources */ = {isa = PBXBuildFile; fileRef = AA1C21981F385BEC0095BFBD /* Identifier.swift */; };
Expand Down Expand Up @@ -34,6 +35,7 @@
/* End PBXContainerItemProxy section */

/* Begin PBXFileReference section */
4EF4F10F2C4569760013D8F0 /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = PrivacyInfo.xcprivacy; sourceTree = "<group>"; };
AA1C21961F385BEC0095BFBD /* DeviceFamily.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = DeviceFamily.swift; path = Sources/DeviceFamily.swift; sourceTree = SOURCE_ROOT; };
AA1C21971F385BEC0095BFBD /* DeviceModel.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = DeviceModel.swift; path = Sources/DeviceModel.swift; sourceTree = SOURCE_ROOT; };
AA1C21981F385BEC0095BFBD /* Identifier.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = Identifier.swift; path = Sources/Identifier.swift; sourceTree = SOURCE_ROOT; };
Expand Down Expand Up @@ -116,6 +118,7 @@
AAB1EF451F138685003BBCF2 /* Sources */ = {
isa = PBXGroup;
children = (
4EF4F10F2C4569760013D8F0 /* PrivacyInfo.xcprivacy */,
AA1C21961F385BEC0095BFBD /* DeviceFamily.swift */,
AA1C21971F385BEC0095BFBD /* DeviceModel.swift */,
AA1C21981F385BEC0095BFBD /* Identifier.swift */,
Expand Down Expand Up @@ -223,6 +226,7 @@
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
4EF4F1102C4569760013D8F0 /* PrivacyInfo.xcprivacy in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down
23 changes: 23 additions & 0 deletions UIDeviceComplete/PrivacyInfo.xcprivacy
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>NSPrivacyCollectedDataTypes</key>
<array>
<dict>
<key>NSPrivacyCollectedDataType</key>
<string>NSPrivacyCollectedDataTypeDeviceID</string>
<key>NSPrivacyCollectedDataTypeLinked</key>
<false/>
<key>NSPrivacyCollectedDataTypeTracking</key>
<false/>
<key>NSPrivacyCollectedDataTypePurposes</key>
<array>
<string>NSPrivacyCollectedDataTypePurposeAnalytics</string>
</array>
</dict>
</array>
<key>NSPrivacyTracking</key>
<false/>
</dict>
</plist>
Loading