Skip to content

Commit

Permalink
PI-1572: Add Privacy Manifest file
Browse files Browse the repository at this point in the history
  • Loading branch information
yungkienpoh-prestolabs committed Mar 29, 2024
1 parent 5bc8648 commit 4f4ea0a
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,12 @@ let package = Package(
.package(url: "https://github.com/mtynior/ColorizeSwift.git", from: "1.5.0"),
],
targets: [
.target(name: "SwiftPrettyPrint", dependencies: ["ColorizeSwift"], path: "Sources"),
.target(
name: "SwiftPrettyPrint",
dependencies: ["ColorizeSwift"],
path: "Sources",
resources: [.process("PrivacyInfo.xcprivacy")]
),
.testTarget(
name: "SwiftPrettyPrintTests",
dependencies: ["SwiftPrettyPrint", "SwiftParamTest", "Curry"]
Expand Down
19 changes: 19 additions & 0 deletions Sources/PrivacyInfo.xcprivacy
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?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>NSPrivacyTracking</key>
<false/>
<key>NSPrivacyAccessedAPITypes</key>
<array>
<dict>
<key>NSPrivacyAccessedAPIType</key>
<string>NSPrivacyAccessedAPICategoryUserDefaults</string>
<key>NSPrivacyAccessedAPITypeReasons</key>
<array>
<string>CA92.1</string>
</array>
</dict>
</array>
</dict>
</plist>
2 changes: 2 additions & 0 deletions SwiftPrettyPrint.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@
/* End PBXContainerItemProxy section */

/* Begin PBXFileReference section */
128A4E652BB69CB700EEDBD7 /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = PrivacyInfo.xcprivacy; sourceTree = "<group>"; };
633314F725D0D7A6001C5C8E /* URLColoringTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = URLColoringTests.swift; sourceTree = "<group>"; };
"ColorizeSwift::ColorizeSwift::Product" /* ColorizeSwift.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = ColorizeSwift.framework; sourceTree = BUILT_PRODUCTS_DIR; };
"Curry::Curry::Product" /* Curry.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = Curry.framework; sourceTree = BUILT_PRODUCTS_DIR; };
Expand Down Expand Up @@ -454,6 +455,7 @@
OBJ_8 /* Core */,
OBJ_20 /* Extension */,
OBJ_22 /* Public */,
128A4E652BB69CB700EEDBD7 /* PrivacyInfo.xcprivacy */,
);
path = Sources;
sourceTree = SOURCE_ROOT;
Expand Down

0 comments on commit 4f4ea0a

Please sign in to comment.