Skip to content

fix: require iOS 15 for SwiftPM - #23

Merged
hatemragab merged 1 commit into
mainfrom
codex/fix-swiftpm-ios-15
Aug 16, 2026
Merged

hatemragab merged 1 commit into
mainfrom
codex/fix-swiftpm-ios-15

Conversation

@hatemragab

Copy link
Copy Markdown
Member

Summary

  • raise the SwiftPM package deployment target to iOS 15 so the generated FlutterFramework dependency resolves
  • retain CocoaPods metadata at iOS 12 for legacy Flutter toolchains, document the split, and align every example target to iOS 15
  • add metadata regression tests plus an iOS CI matrix that builds and verifies this plugin through SwiftPM and CocoaPods

Compatibility

  • SwiftPM: minimum iOS version changes from 12 to 15
  • CocoaPods: minimum metadata remains iOS 12
  • no Dart API, method-channel schema, permissions, or native runtime behavior changes

Validation

  • flutter analyze
  • flutter test — 96 tests passed
  • cd example && flutter analyze
  • cd example && flutter test — 3 tests passed
  • clean flutter build ios --debug --no-codesign with SwiftPM enabled
  • clean flutter build ios --debug --no-codesign with SwiftPM disabled (CocoaPods)
  • generated SwiftPM and CocoaPods manifests confirmed v_video_compressor used the intended integration path
  • workflow YAML parsed locally; actionlint was not installed

Closes #22

@hatemragab
hatemragab marked this pull request as ready for review August 16, 2026 19:56
@hatemragab
hatemragab merged commit 79ada5f into main Aug 16, 2026
2 checks passed
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("12.0") but depends on FlutterFramework, which requires 13.0 — SPM builds fail

1 participant