Skip to content

spm support (ios)#609

Open
qeepcologne wants to merge 11 commits into
ScerIO:mainfrom
qeepcologne:main
Open

spm support (ios)#609
qeepcologne wants to merge 11 commits into
ScerIO:mainfrom
qeepcologne:main

Conversation

@qeepcologne
Copy link
Copy Markdown

No description provided.

@utrayn
Copy link
Copy Markdown

utrayn commented May 20, 2026

Thanks for putting this together β€” it would directly unblock us, and we'd love to see it reviewed/merged.

Real-world context: we ship a Flutter app using pdfx alongside the Firebase plugins. The current Firebase SPM packages require a minimum iOS platform of 15.0, which has pushed us to enable Swift Package Manager (enable-swift-package-manager: true). With SPM on, every build now warns:

The following plugins do not support Swift Package Manager for ios/macos:

  • pdfx
    This will become an error in a future version of Flutter.

It builds today only because Flutter silently falls back to CocoaPods for pdfx β€” but once that fallback is removed, this will block SPM-based iOS/macOS builds. This PR resolves exactly that. Happy to help test against an app that has SPM enabled if useful. πŸ™

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.

2 participants