From 9c3176ba22a34ba1bf51c962348aea76d03032db Mon Sep 17 00:00:00 2001 From: Denis Chilik Date: Tue, 19 May 2026 15:08:57 -0400 Subject: [PATCH 1/4] fix: cap OneTrust SDK versions to avoid ObjC API break Prevent OneTrust releases from 202503+ from being resolved by default, where the selector used by the Objective-C kit integration is not available and CI builds fail. --- Kits/onetrust/onetrust/Package.swift | 4 ++-- Kits/onetrust/onetrust/mParticle-OneTrust.podspec | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Kits/onetrust/onetrust/Package.swift b/Kits/onetrust/onetrust/Package.swift index 701ca7f49..8f6c34a6f 100644 --- a/Kits/onetrust/onetrust/Package.swift +++ b/Kits/onetrust/onetrust/Package.swift @@ -33,13 +33,13 @@ let package = Package( // iOS OneTrust .package( url: "https://github.com/Zentrust/OTPublishersHeadlessSDK", - "0.0.0"..<"999999.0.0" + "0.0.0"..<"202503.0.0" ), // tvOS OneTrust .package( url: "https://github.com/Zentrust/OTPublishersHeadlessSDKtvOS", - "0.0.0"..<"999999.0.0" + "0.0.0"..<"202503.0.0" ) ], targets: [ diff --git a/Kits/onetrust/onetrust/mParticle-OneTrust.podspec b/Kits/onetrust/onetrust/mParticle-OneTrust.podspec index 507923367..25edb4c79 100644 --- a/Kits/onetrust/onetrust/mParticle-OneTrust.podspec +++ b/Kits/onetrust/onetrust/mParticle-OneTrust.podspec @@ -14,6 +14,6 @@ Pod::Spec.new do |s| s.source_files = 'Sources/mParticle-OneTrust/**/*.{h,m}' s.resource_bundles = { 'mParticle-OneTrust-Privacy' => ['Sources/mParticle-OneTrust/PrivacyInfo.xcprivacy'] } s.dependency 'mParticle-Apple-SDK', '~> 9.0' - s.ios.dependency 'OneTrust-CMP-XCFramework' - s.tvos.dependency 'OneTrust-CMP-tvOS-XCFramework' + s.ios.dependency 'OneTrust-CMP-XCFramework', '>= 202502.1.0', '< 202503.0.0' + s.tvos.dependency 'OneTrust-CMP-tvOS-XCFramework', '>= 202502.1.0', '< 202503.0.0' end From 526ba33b0a04dba516710b3ea05accda941ffa33 Mon Sep 17 00:00:00 2001 From: Denis Chilik Date: Tue, 19 May 2026 15:19:39 -0400 Subject: [PATCH 2/4] fix: align OneTrust lower bounds across package managers Set the SPM lower bound to 202502.1.0 so SPM and CocoaPods resolve the same safe OneTrust range and avoid selecting older incompatible SDK releases. --- Kits/onetrust/onetrust/Package.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Kits/onetrust/onetrust/Package.swift b/Kits/onetrust/onetrust/Package.swift index 8f6c34a6f..90720887f 100644 --- a/Kits/onetrust/onetrust/Package.swift +++ b/Kits/onetrust/onetrust/Package.swift @@ -33,13 +33,13 @@ let package = Package( // iOS OneTrust .package( url: "https://github.com/Zentrust/OTPublishersHeadlessSDK", - "0.0.0"..<"202503.0.0" + "202502.1.0"..<"202503.0.0" ), // tvOS OneTrust .package( url: "https://github.com/Zentrust/OTPublishersHeadlessSDKtvOS", - "0.0.0"..<"202503.0.0" + "202502.1.0"..<"202503.0.0" ) ], targets: [ From a4a7cd491f7dd5e52025c3c81ed7715b181d4e95 Mon Sep 17 00:00:00 2001 From: Denis Chilik Date: Tue, 19 May 2026 15:20:40 -0400 Subject: [PATCH 3/4] fix: keep only OneTrust upper cap in podspec Limit CocoaPods resolution to versions below 202503.0.0 while leaving the lower bound open, matching the intended policy to pin only the upper OneTrust version. --- Kits/onetrust/onetrust/mParticle-OneTrust.podspec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Kits/onetrust/onetrust/mParticle-OneTrust.podspec b/Kits/onetrust/onetrust/mParticle-OneTrust.podspec index 25edb4c79..93d0dd0b7 100644 --- a/Kits/onetrust/onetrust/mParticle-OneTrust.podspec +++ b/Kits/onetrust/onetrust/mParticle-OneTrust.podspec @@ -14,6 +14,6 @@ Pod::Spec.new do |s| s.source_files = 'Sources/mParticle-OneTrust/**/*.{h,m}' s.resource_bundles = { 'mParticle-OneTrust-Privacy' => ['Sources/mParticle-OneTrust/PrivacyInfo.xcprivacy'] } s.dependency 'mParticle-Apple-SDK', '~> 9.0' - s.ios.dependency 'OneTrust-CMP-XCFramework', '>= 202502.1.0', '< 202503.0.0' - s.tvos.dependency 'OneTrust-CMP-tvOS-XCFramework', '>= 202502.1.0', '< 202503.0.0' + s.ios.dependency 'OneTrust-CMP-XCFramework', '< 202503.0.0' + s.tvos.dependency 'OneTrust-CMP-tvOS-XCFramework', '< 202503.0.0' end From 44857122d63c2e25e389f32d3cd0321e1e925a1f Mon Sep 17 00:00:00 2001 From: Denis Chilik Date: Tue, 19 May 2026 15:22:12 -0400 Subject: [PATCH 4/4] fix: keep only OneTrust upper cap in SPM Limit SPM OneTrust dependencies to versions below 202503.0.0 while leaving the lower bound open, matching the upper-bound-only version policy. --- Kits/onetrust/onetrust/Package.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Kits/onetrust/onetrust/Package.swift b/Kits/onetrust/onetrust/Package.swift index 90720887f..8f6c34a6f 100644 --- a/Kits/onetrust/onetrust/Package.swift +++ b/Kits/onetrust/onetrust/Package.swift @@ -33,13 +33,13 @@ let package = Package( // iOS OneTrust .package( url: "https://github.com/Zentrust/OTPublishersHeadlessSDK", - "202502.1.0"..<"202503.0.0" + "0.0.0"..<"202503.0.0" ), // tvOS OneTrust .package( url: "https://github.com/Zentrust/OTPublishersHeadlessSDKtvOS", - "202502.1.0"..<"202503.0.0" + "0.0.0"..<"202503.0.0" ) ], targets: [