Skip to content

fix(ios): keep google-cast-sdk below 4.8.6 while the plugin targets iOS 15 - #100

Closed
agalambas wants to merge 1 commit into
felnanuke2:masterfrom
reversegroupio:fix/cap-cast-sdk-ios15
Closed

agalambas wants to merge 1 commit into
felnanuke2:masterfrom
reversegroupio:fix/cap-cast-sdk-ios15

Conversation

@agalambas

Copy link
Copy Markdown
Contributor

Problem

google-cast-sdk 4.8.6 raised its minimum iOS version to 16.0, in both the SRGSSR Swift package (.iOS(.v16)) and the CocoaPods spec ("ios": "16.0"). The plugin's dependency ranges are open-ended (from: "4.8.4" in Package.swift, ~> 4.8.4 in the podspec), so a fresh resolution now picks 4.8.6 and fails against the plugin's own iOS 15.0 platform:

The package product 'GoogleCast' requires minimum platform version 16.0 for the iOS platform, but this target supports 15.0

Apps whose committed Package.resolved / Podfile.lock already holds 4.8.4 keep building; any clean resolution (CI without a lockfile, a new app, pod update) breaks.

Fix

Cap the dependency below 4.8.6 in both manifests ("4.8.4"..<"4.8.6" and '>= 4.8.4', '< 4.8.6') until the plugin raises its own floor to iOS 16. Raising the floor instead would be a breaking change for apps that still support iOS 15.

Verified with a clean swift package resolve in ios/flutter_chrome_cast (resolves 4.8.4) and pod ipc spec on the podspec.

Fixes #90

…OS 15

google-cast-sdk 4.8.6 raised its minimum iOS version to 16.0 in both the
SRGSSR Swift package and the CocoaPods spec. The open-ended ranges
(from: "4.8.4" and ~> 4.8.4) now resolve to it, so a fresh resolution
fails against the plugin's own iOS 15.0 platform.
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@agalambas agalambas closed this Oct 12, 2026
@agalambas
agalambas deleted the fix/cap-cast-sdk-ios15 branch October 12, 2026 08:06
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.

iOS: Package.swift declares iOS 15 but google-cast-sdk from: 4.8.4 now resolves 4.8.6 (min iOS 16) — fresh SPM resolution fails

2 participants