Skip to content

[BUG] SDK not working due to Swift Package Manager Error (VSCode Windows) #10

@flohtechnologies

Description

@flohtechnologies

Describe the bug
After adding the SDK, I kept getting this error

Plugin paystack_flutter_sdk is only Swift Package Manager compatible. Try enabling Swift Package Manager by running "flutter config --enable-swift-package-manager" or remove the plugin as a dependency.

After running "flutter config --enable-swift-package-manager" or remove the plugin as a dependency.", I got the following response below

Setting "enable-swift-package-manager" value to "true". You may need to restart any open editors for them to read new settings.

To Reproduce
Steps to reproduce the behavior:

  1. run flutter pub add paystack_flutter_sdk
  2. See error

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions