diff --git a/Package.swift b/Package.swift index 914e6f7..6b906b4 100644 --- a/Package.swift +++ b/Package.swift @@ -26,7 +26,10 @@ let package = Package( ], targets: [ .target( - name: "SmoothGradient" + name: "SmoothGradient", + resources: [ + .process("PrivacyInfo.xcprivacy") + ] ), .testTarget( name: "SmoothGradientTests", diff --git a/SmoothGradient.podspec b/SmoothGradient.podspec index ad45ddf..2b0ff72 100644 --- a/SmoothGradient.podspec +++ b/SmoothGradient.podspec @@ -15,4 +15,7 @@ Pod::Spec.new do |spec| spec.source = { :git => "https://github.com/raymondjavaxx/SmoothGradient.git", :tag => "#{spec.version}" } spec.source_files = "Sources/SmoothGradient/**/*.swift" + spec.resources = [ + "Sources/SmoothGradient/PrivacyInfo.xcprivacy" + ] end diff --git a/Sources/SmoothGradient/PrivacyInfo.xcprivacy b/Sources/SmoothGradient/PrivacyInfo.xcprivacy new file mode 100644 index 0000000..cfbe279 --- /dev/null +++ b/Sources/SmoothGradient/PrivacyInfo.xcprivacy @@ -0,0 +1,8 @@ + + + + + NSPrivacyTracking + + +