Countly / Countly/countly-sdk-flutter-bridge

Add Swift Package Manager support

Open
#393 9 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Dart
Stars
33
Forks
20
Avg merge
5m
Merged PRs (30d)
4

Description

Hello,

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

SwiftPM will be the default for all Flutter apps in the next stable release (3.44). To ensure your plugin remains compatible and prevents build failures for your users, please migrate to SwiftPM

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 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: https://github.com/flutter/flutter/issues/33850.

Flutter's Swift Package Manager integration has several benefits:

Access to the Swift package ecosystem. Flutter plugins can use the growing ecosystem of Swift packages.
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.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked Flutter migration guide, then inspect this plugin's existing CocoaPods and iOS or macOS integration. Add the Swift Package Manager support described there and verify that the plugin remains compatible with Flutter apps using SwiftPM.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, swift
Domain
build-system, mobile-dev
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
66/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.