UID2-7042: Bump SPM minimum platform to iOS 13 / tvOS 13#88
Merged
Conversation
PrebidMobile 3.3.1 (pulled in via PR #80) requires .iOS(.v13), but Package.swift still declared .iOS(.v12). SPM enforces platform minimums across the dependency graph, so adding the UID2Prebid product to any target deployed below iOS 13 fails to resolve. Bump the package minimums to .iOS(.v13) and .tvOS(.v13) and drop the now-stale comment about supporting iOS 12 integration. Fixes #87
dcaunt
approved these changes
May 11, 2026
sophia-chen-ttd
approved these changes
May 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Package.swiftminimum platforms from.iOS(.v12)/.tvOS(.v12)to.iOS(.v13)/.tvOS(.v13).Why
PrebidMobile3.3.1 (added to the dependency graph in #80 via.upToNextMajor(from: "3.1.0")) requires.iOS(.v13). Swift Package Manager enforces that all products in the graph satisfy the package's declared minimum, so any consumer adding theUID2Prebidproduct on an iOS 12 target hits:Per the existing comment in
Package.swift, the UID2 framework code itself already only runs on iOS 13 / tvOS 13, so the v12 declaration was only a convenience for downstream apps. WithUID2Prebidnow in the package, that convenience can no longer hold.Fixes #87. Tracked internally as UID2-7042.
Test plan
swift package resolvesucceeds with PrebidMobile 3.3.1UID2Prebidvia SPM and build