From ea03712dd6ceb3ee273db1f07d560dc71629808a Mon Sep 17 00:00:00 2001 From: Darren Ford Date: Sat, 10 Aug 2024 14:15:28 +1000 Subject: [PATCH] Fixed cocoapods "multiple targets produce" privacyinfo error --- SwiftImageReadWrite.podspec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/SwiftImageReadWrite.podspec b/SwiftImageReadWrite.podspec index c2a9d4e..cb93a1f 100644 --- a/SwiftImageReadWrite.podspec +++ b/SwiftImageReadWrite.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = 'SwiftImageReadWrite' -s.version = '1.8.0' +s.version = '1.9.0' s.summary = 'A basic microframework of routines for doing basic importing/exporting of `CGImage` and `NSImage`/`UIImage` type images.' s.homepage = 'https://github.com/dagronf/SwiftImageReadWrite' s.license = { :type => 'MIT', :file => 'LICENSE' } @@ -21,7 +21,9 @@ s.tvos.framework = 'UIKit' s.watchos.framework = 'UIKit' s.source_files = 'Sources/SwiftImageReadWrite/**/*.swift' -s.resources = [ "Sources/SwiftImageReadWrite/PrivacyInfo.xcprivacy" ] +s.resource_bundles = { + 'DSF_QRCode' => 'Sources/SwiftImageReadWrite/PrivacyInfo.xcprivacy' +} s.swift_versions = ['5.4', '5.5', '5.6', '5.7', '5.8', '5.9', '5.10']