diff --git a/Package.swift b/Package.swift index ad2c3e4..dcf81c6 100644 --- a/Package.swift +++ b/Package.swift @@ -24,7 +24,8 @@ let package = Package( .target( name: "UIView-Shimmer", dependencies: [], - exclude: ["Resources/Info.plist"]), + exclude: ["Resources/Info.plist"], + resources: [.process("Resources/PrivacyInfo.xcprivacy")]), .testTarget( name: "UIView-ShimmerTests", dependencies: ["UIView-Shimmer"], diff --git a/Sources/UIView-Shimmer/Resources/PrivacyInfo.xcprivacy b/Sources/UIView-Shimmer/Resources/PrivacyInfo.xcprivacy new file mode 100644 index 0000000..4dd7b31 --- /dev/null +++ b/Sources/UIView-Shimmer/Resources/PrivacyInfo.xcprivacy @@ -0,0 +1,13 @@ + + + + + NSPrivacyTracking + + NSPrivacyTrackingDomains + + NSPrivacyCollectedDataTypes + + NSPrivacyAccessedAPITypes + + \ No newline at end of file diff --git a/UIView-Shimmer.podspec b/UIView-Shimmer.podspec index a193010..a011814 100644 --- a/UIView-Shimmer.podspec +++ b/UIView-Shimmer.podspec @@ -21,6 +21,8 @@ Mark any UIView element as template view and add shimmering effect on it with si spec.source_files = "Sources/UIView-Shimmer/**/*.{h,m,swift}" + spec.resources = 'UIView-Shimmer/Resources/PrivacyInfo.xcprivacy' + # spec.public_header_files = "Classes/**/*.h"