Skip to content

Add iOS Swift Package Manager support#41

Merged
yanncabral merged 4 commits into
mainfrom
spm-hhak
May 26, 2026
Merged

Add iOS Swift Package Manager support#41
yanncabral merged 4 commits into
mainfrom
spm-hhak

Conversation

@yanncabral

@yanncabral yanncabral commented May 23, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add iOS Swift Package Manager support for the Flutter plugin.
  • Move the iOS Swift source into the Flutter SPM package layout.
  • Keep CocoaPods support by updating the podspec source path and version.
  • Enable SPM in the example app and validate flutter build ios --no-codesign on macOS CI.

Validation

Local validation available in this workspace:

  • Parsed pubspec.yaml, example/pubspec.yaml, and .github/workflows/publish.yml as YAML.
  • Parsed ios/open_settings_plus.podspec with pod ipc spec.
  • Parsed the SwiftPM manifest with swift package --package-path ios/open_settings_plus dump-package using a temporary local FlutterFramework stub.
  • Checked the iOS example project with xcodebuild -list -project example/ios/Runner.xcodeproj.

Full Flutter/iOS validation is expected to run in GitHub Actions because the local workspace does not have flutter/dart installed.

Related issues

Fixes #28
Fixes #40

@yanncabral yanncabral self-assigned this May 26, 2026
@yanncabral yanncabral merged commit d028593 into main May 26, 2026
2 checks passed
@yanncabral yanncabral deleted the spm-hhak branch May 26, 2026 12:46
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.

Add Swift Package Manager support Add Swift Package Manager support

1 participant