Skip to content

Commit 82b10fa

Browse files
Add privacy manifest (#8)
1 parent 7f11f2e commit 82b10fa

File tree

3 files changed

+15
-1
lines changed

3 files changed

+15
-1
lines changed

Package.swift

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,10 @@ let package = Package(
2626
],
2727
targets: [
2828
.target(
29-
name: "SmoothGradient"
29+
name: "SmoothGradient",
30+
resources: [
31+
.process("PrivacyInfo.xcprivacy")
32+
]
3033
),
3134
.testTarget(
3235
name: "SmoothGradientTests",

SmoothGradient.podspec

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,7 @@ Pod::Spec.new do |spec|
1515

1616
spec.source = { :git => "https://github.com/raymondjavaxx/SmoothGradient.git", :tag => "#{spec.version}" }
1717
spec.source_files = "Sources/SmoothGradient/**/*.swift"
18+
spec.resources = [
19+
"Sources/SmoothGradient/PrivacyInfo.xcprivacy"
20+
]
1821
end
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
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>NSPrivacyTracking</key>
6+
<false/>
7+
</dict>
8+
</plist>

0 commit comments

Comments
 (0)