flutter-packages icon indicating copy to clipboard operation
flutter-packages copied to clipboard

Swift package manager support

Open EchoEllet opened this issue 11 months ago • 1 comments

Package

dynamic_color

Description

The only Flutter plugin on this repo is dynamic_color, which involves macOS platform-specific code. However, it doesn't support Swift package manager, which recently landed on stable (3.27.0).

It's disabled by default and can be enabled with flutter config --enable-swift-package-manager.

Swift package manager is bundled with Xcode and doesn't require CocoaPods and Ruby installations, making it easier and faster to get started with fewer build failures and compatibility issues. It also seamlessly integrates with the Apple ecosystem and supports a wide range of packages. Flutter will eventually enable Swift package manager as the default solution for native iOS and macOS dependencies.

EchoEllet avatar Dec 26 '24 11:12 EchoEllet

Support for CocoaPods will be deprecated in future releases, see this issue from the Flutter team: https://github.com/MisterJimson/flutter_keyboard_visibility/issues/168

EchoEllet avatar Dec 26 '24 11:12 EchoEllet

macOS support done, iOS support remains

guidezpl avatar Aug 01 '25 07:08 guidezpl

iOS support remains

The plugin dynamic_color doesn't support the iOS platform, so we need to add an iOS implementation before adding SPM support for it.

EchoEllet avatar Aug 01 '25 09:08 EchoEllet

You're correct, of course. Closing. Thanks!

guidezpl avatar Aug 01 '25 09:08 guidezpl