Skip to content

UID2-7042: Bump SPM minimum platform to iOS 13 / tvOS 13#88

Merged
sunnywu merged 1 commit into
mainfrom
syw-UID2-7042-bump-ios-min-v13
May 12, 2026
Merged

UID2-7042: Bump SPM minimum platform to iOS 13 / tvOS 13#88
sunnywu merged 1 commit into
mainfrom
syw-UID2-7042-bump-ios-min-v13

Conversation

@sunnywu
Copy link
Copy Markdown
Contributor

@sunnywu sunnywu commented May 11, 2026

Summary

  • Bumps the Package.swift minimum platforms from .iOS(.v12) / .tvOS(.v12) to .iOS(.v13) / .tvOS(.v13).
  • Removes the now-stale comment that justified the iOS 12 floor.

Why

PrebidMobile 3.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 the UID2Prebid product on an iOS 12 target hits:

The package product 'PrebidMobile' requires minimum platform version 13.0 for the iOS platform, but this target supports 12.0

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. With UID2Prebid now in the package, that convenience can no longer hold.

Fixes #87. Tracked internally as UID2-7042.

Test plan

  • CI green
  • swift package resolve succeeds with PrebidMobile 3.3.1
  • Consumer Xcode project with iOS 13+ target can add UID2Prebid via SPM and build

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
@sunnywu sunnywu requested a review from dcaunt May 11, 2026 08:26
@sunnywu sunnywu merged commit 78c3939 into main May 12, 2026
3 checks passed
@sunnywu sunnywu deleted the syw-UID2-7042-bump-ios-min-v13 branch May 12, 2026 03:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

UID2Prebid SPM build fails: PrebidMobile 3.3.1 requires iOS 13 but package declares iOS 12

3 participants