Skip to content

[iOS] Add Swift Package Manager (SPM) support#54

Open
cjouannet wants to merge 1 commit into
kineapps:masterfrom
odandb:feature/spm-integration
Open

[iOS] Add Swift Package Manager (SPM) support#54
cjouannet wants to merge 1 commit into
kineapps:masterfrom
odandb:feature/spm-integration

Conversation

@cjouannet
Copy link
Copy Markdown

Summary

  • Restructures iOS sources into an SPM-compatible layout under ios/flutter_file_dialog/Sources/flutter_file_dialog/
  • Adds a Package.swift manifest (swift-tools-version 5.9, iOS 12+)
  • Removes the legacy Obj-C wrapper (FlutterFileDialogPlugin.h/.m) now that a pure-Swift plugin registration is used
  • Updates the podspec source_files path to match the new layout
  • CocoaPods integration remains fully functional
  • Bumps version to 3.1.0

Motivation

Flutter's tooling now supports SPM as a first-class iOS dependency manager (available since Flutter 3.19). This change allows projects using swift package workflows or Xcode's native package resolution to consume the plugin without CocoaPods.

…ces into SPM-compatible layout under ios/flutter_file_dialog/Sources/flutter_file_dialog/ with a Package.swift manifest.

CocoaPods support is preserved via updated podspec pointing to the new source paths.

Bump version to 3.1.0.
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.

1 participant