fix(share_plus): raise Apple platform minimums in SPM manifests to match FlutterFramework#3923
Merged
vbuberen merged 1 commit intoJul 8, 2026
Conversation
…tch FlutterFramework share_plus declares a Swift Package Manager dependency on FlutterFramework (which requires iOS 13.0 / macOS 10.15) but still declares lower platform minimums (iOS 12.0 / macOS 10.14) in its Package.swift. SwiftPM refuses to resolve this, because a package cannot support a lower platform version than a package it depends on, failing the build with: The package product 'FlutterFramework' requires minimum platform version 13.0 for the iOS platform, but this target supports 12.0 Raise the SPM platform minimums to iOS 13.0 / macOS 10.15 and bump the example app deployment targets accordingly. Mirrors the fix already applied to device_info_plus in fluttercommunity#3891. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
vbuberen
approved these changes
Jul 8, 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.
Description
share_plusdeclares a Swift Package Manager dependency onFlutterFramework(which requires iOS 13.0 / macOS 10.15), but itsPackage.swiftstill declares lower platform minimums (iOS 12.0 / macOS 10.14).SwiftPM refuses to resolve this, because a package cannot support a lower platform version than a package it depends on. Building an app that consumes this plugin via SPM fails with:
This raises the SPM platform minimums to iOS 13.0 / macOS 10.15, matching
FlutterFramework, and bumps the example app deployment targets so the example keeps building. This mirrors the fix already applied todevice_info_plusin #3891.Changes
ios/share_plus/Package.swift:.iOS("12.0")→.iOS("13.0").macos/share_plus/Package.swift:.macOS("10.14")→.macOS("10.15").MACOSX_DEPLOYMENT_TARGET10.14→10.15.Podspecs,
CHANGELOG.mdandpubspec.yamlversions are intentionally left unchanged (per CONTRIBUTING §5.3).