diff --git a/Package.swift b/Package.swift
index 7e53f13c..3c353fb2 100644
--- a/Package.swift
+++ b/Package.swift
@@ -25,7 +25,8 @@ let package = Package(
.target(
name: "SDWebImageSwiftUI",
dependencies: ["SDWebImage"],
- path: "SDWebImageSwiftUI/Classes"
+ path: "SDWebImageSwiftUI/Classes",
+ resources: [.copy("Resources/PrivacyInfo.xcprivacy")],
),
]
)
diff --git a/Resources/PrivacyInfo.xcprivacy b/Resources/PrivacyInfo.xcprivacy
new file mode 100644
index 00000000..df2b2442
--- /dev/null
+++ b/Resources/PrivacyInfo.xcprivacy
@@ -0,0 +1,14 @@
+
+
+
+
+ NSPrivacyTracking
+
+ NSPrivacyAccessedAPITypes
+
+ NSPrivacyCollectedDataTypes
+
+ NSPrivacyTrackingDomains
+
+
+
\ No newline at end of file
diff --git a/SDWebImageSwiftUI.podspec b/SDWebImageSwiftUI.podspec
index 87a78500..0af3d344 100644
--- a/SDWebImageSwiftUI.podspec
+++ b/SDWebImageSwiftUI.podspec
@@ -32,6 +32,9 @@ It brings all your favorite features from SDWebImage, like async image loading,
'SUPPORTS_MACCATALYST' => 'YES',
'DERIVE_MACCATALYST_PRODUCT_BUNDLE_IDENTIFIER' => 'NO',
}
+ s.resource_bundles = {
+ 'SDWebImageSwiftUI' => ['Resources/PrivacyInfo.xcprivacy'],
+ }
s.weak_frameworks = 'SwiftUI', 'Combine'
s.dependency 'SDWebImage', '~> 5.10'
diff --git a/SDWebImageSwiftUI.xcodeproj/project.pbxproj b/SDWebImageSwiftUI.xcodeproj/project.pbxproj
index d3e5a45d..3c1095c5 100644
--- a/SDWebImageSwiftUI.xcodeproj/project.pbxproj
+++ b/SDWebImageSwiftUI.xcodeproj/project.pbxproj
@@ -66,6 +66,11 @@
32D26A032446B546005905DA /* Image.swift in Sources */ = {isa = PBXBuildFile; fileRef = 32D26A012446B546005905DA /* Image.swift */; };
32D26A042446B546005905DA /* Image.swift in Sources */ = {isa = PBXBuildFile; fileRef = 32D26A012446B546005905DA /* Image.swift */; };
32D26A052446B546005905DA /* Image.swift in Sources */ = {isa = PBXBuildFile; fileRef = 32D26A012446B546005905DA /* Image.swift */; };
+ 32FFFE712BDF97FB005D0719 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 32FFFE702BDF97FB005D0719 /* PrivacyInfo.xcprivacy */; };
+ 32FFFE722BDF97FB005D0719 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 32FFFE702BDF97FB005D0719 /* PrivacyInfo.xcprivacy */; };
+ 32FFFE732BDF97FB005D0719 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 32FFFE702BDF97FB005D0719 /* PrivacyInfo.xcprivacy */; };
+ 32FFFE742BDF97FB005D0719 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 32FFFE702BDF97FB005D0719 /* PrivacyInfo.xcprivacy */; };
+ 32FFFE752BDF97FB005D0719 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 32FFFE702BDF97FB005D0719 /* PrivacyInfo.xcprivacy */; };
/* End PBXBuildFile section */
/* Begin PBXFileReference section */
@@ -97,6 +102,7 @@
32CBA77E25E4D7D800C6A8DC /* ImagePlayer.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ImagePlayer.swift; sourceTree = ""; };
32D26A012446B546005905DA /* Image.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Image.swift; sourceTree = ""; };
32ED4825242A13030053338E /* ImageManagerTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ImageManagerTests.swift; sourceTree = ""; };
+ 32FFFE702BDF97FB005D0719 /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; path = PrivacyInfo.xcprivacy; sourceTree = ""; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
@@ -199,6 +205,7 @@
32C43DCE22FD540D00BE87F5 /* SDWebImageSwiftUI */ = {
isa = PBXGroup;
children = (
+ 32FFFE6F2BDF97FB005D0719 /* Resources */,
32C43DDB22FD54C600BE87F5 /* Classes */,
);
path = SDWebImageSwiftUI;
@@ -233,6 +240,14 @@
name = Frameworks;
sourceTree = "";
};
+ 32FFFE6F2BDF97FB005D0719 /* Resources */ = {
+ isa = PBXGroup;
+ children = (
+ 32FFFE702BDF97FB005D0719 /* PrivacyInfo.xcprivacy */,
+ );
+ path = Resources;
+ sourceTree = SOURCE_ROOT;
+ };
/* End PBXGroup section */
/* Begin PBXHeadersBuildPhase section */
@@ -426,6 +441,7 @@
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
+ 32FFFE752BDF97FB005D0719 /* PrivacyInfo.xcprivacy in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -433,6 +449,7 @@
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
+ 32FFFE712BDF97FB005D0719 /* PrivacyInfo.xcprivacy in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -440,6 +457,7 @@
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
+ 32FFFE722BDF97FB005D0719 /* PrivacyInfo.xcprivacy in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -447,6 +465,7 @@
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
+ 32FFFE732BDF97FB005D0719 /* PrivacyInfo.xcprivacy in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -454,6 +473,7 @@
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
+ 32FFFE742BDF97FB005D0719 /* PrivacyInfo.xcprivacy in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};