From 191420719dd19cd68b261a2cd196b6a6a96f2f91 Mon Sep 17 00:00:00 2001 From: Matias Pequeno Date: Mon, 22 Apr 2024 18:56:31 -0300 Subject: [PATCH] Update podspecs --- Package.swift | 4 ++-- Rollbar.podspec | 6 +----- RollbarCommon.podspec | 1 - RollbarCrash.podspec | 1 - 4 files changed, 3 insertions(+), 9 deletions(-) diff --git a/Package.swift b/Package.swift index 9c0b6d1a..f7372c97 100644 --- a/Package.swift +++ b/Package.swift @@ -29,7 +29,6 @@ let package = Package( name: "RollbarCrash", dependencies: [], path: "RollbarNotifier/Sources/RollbarCrash", - resources: [.copy("PrivacyInfo.xcprivacy")], cxxSettings: [ .define("GCC_ENABLE_CPP_EXCEPTIONS", to: "YES"), .headerSearchPath("Monitors"), @@ -53,7 +52,8 @@ let package = Package( "RollbarCrash", "RollbarReport" ], - path: "RollbarNotifier/Sources/RollbarNotifier" + path: "RollbarNotifier/Sources/RollbarNotifier", + resources: [.copy("PrivacyInfo.xcprivacy")] ), .target( name: "RollbarDeploys", diff --git a/Rollbar.podspec b/Rollbar.podspec index d48d0dbf..faa49295 100644 --- a/Rollbar.podspec +++ b/Rollbar.podspec @@ -45,10 +45,7 @@ Pod::Spec.new do |s| s.public_header_files = "RollbarNotifier/Sources/RollbarCrash/include/*.h", "RollbarNotifier/Sources/RollbarNotifier/include/*.h" - s.resource_bundles = { , - "RollbarCrash" => "RollbarNotifier/Sources/RollbarCrash/PrivacyInfo.xcprivacy", - "RollbarNotifier" => "RollbarNotifier/Sources/RollbarNotifier/PrivacyInfo.xcprivacy" - } + s.resource_bundles = { "RollbarNotifier" => "RollbarNotifier/Sources/RollbarNotifier/PrivacyInfo.xcprivacy" } s.module_map = "RollbarNotifier/Sources/RollbarCrash/include/module.modulemap", "RollbarNotifier/Sources/RollbarNotifier/include/module.modulemap" @@ -58,7 +55,6 @@ Pod::Spec.new do |s| s.subspec 'Common' do |sp| sp.source_files = "RollbarCommon/Sources/RollbarCommon/**/*.{h,m}" sp.public_header_files = "RollbarCommon/Sources/RollbarCommon/include/*.h" - sp.resource_bundles = { "Rollbar" => "RollbarCommon/Sources/PrivacyInfo.xcprivacy" } end s.subspec 'AUL' do |sp| diff --git a/RollbarCommon.podspec b/RollbarCommon.podspec index a24ada76..49be7933 100644 --- a/RollbarCommon.podspec +++ b/RollbarCommon.podspec @@ -24,7 +24,6 @@ Pod::Spec.new do |s| s.source_files = "#{s.name}/Sources/#{s.name}/**/*.{h,m}" s.public_header_files = "#{s.name}/Sources/#{s.name}/include/*.h" - s.resource_bundles = { "RollbarCommon" => "RollbarCommon/Sources/PrivacyInfo.xcprivacy" } s.module_map = "#{s.name}/Sources/#{s.name}/include/module.modulemap" s.framework = "Foundation" diff --git a/RollbarCrash.podspec b/RollbarCrash.podspec index f4130ff6..9773deba 100644 --- a/RollbarCrash.podspec +++ b/RollbarCrash.podspec @@ -25,7 +25,6 @@ Pod::Spec.new do |s| s.module_name = "RollbarCrash" s.source_files = "RollbarNotifier/Sources/#{s.name}/**/*.{h,c,cpp,m}" s.public_header_files = "RollbarNotifier/Sources/#{s.name}/include/*.h" - s.resource_bundles = { "RollbarCrash" => "RollbarNotifier/Sources/RollbarCrash/PrivacyInfo.xcprivacy" } s.module_map = "RollbarNotifier/Sources/#{s.name}/include/module.modulemap" s.framework = "Foundation"