Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Swift Package Manager support #43

Open
loic-sharma opened this issue Dec 3, 2024 · 2 comments · May be fixed by #44
Open

Add Swift Package Manager support #43

loic-sharma opened this issue Dec 3, 2024 · 2 comments · May be fixed by #44
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@loic-sharma
Copy link

Hello,

Flutter is migrating to Swift Package Manager. Please add Swift Package Manager support to your plugin.

Flutter will eventually deprecate and then remove support for CocoaPods. Adding Swift Package Manager support future-proofs your plugins.

How to add Swift Package Manager support to your plugins

You can find the migration guide here: https://docs.flutter.dev/packages-and-plugins/swift-package-manager/for-plugin-authors#how-to-add-swift-package-manager-support-to-an-existing-flutter-plugin

If you run into issues or have questions, please reach out to the Flutter team. You can ping me at @loic-sharma, send a message to the #hackers-ios channel on Flutter’s discord, or open a GitHub issue.

Thank you for your wonderful contributions to the Flutter ecosystem!

Why is Flutter migrating to Swift Package Manager?

CocoaPods is now in maintenance mode.

Swift Package Manager support is one of Flutter’s most requested features: flutter#33850.

Flutter's Swift Package Manager integration has several benefits:

  1. Access to the Swift package ecosystem. Flutter plugins can use the growing ecosystem of Swift packages.
  2. Simplifies Flutter installation. Swift Package Manager is bundled with Xcode. In the future, you won’t need to install Ruby and CocoaPods to target iOS or macOS.
@tjarvstrand tjarvstrand added enhancement New feature or request good first issue Good for newcomers labels Dec 4, 2024
@tjarvstrand
Copy link
Owner

Thanks for bringing this up!

It's a totally reasonable request. Unfortunately I have very limited bandwidth at the moment but I will try to get to it. Meanwhile, if you have time, please feel free to submit a PR 🙂

@MaikuB MaikuB linked a pull request Dec 14, 2024 that will close this issue
@MaikuB
Copy link

MaikuB commented Dec 14, 2024

@tjarvstrand I've raised a PR for it with #44

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants