You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FEAT] Add CocoaPods Support to Enhance Compatibility with Flutter Projects #11
Issue description.
Currently, the paystack_flutter_sdk plugin supports only Swift Package Manager (SPM) for iOS integration. However, Flutter's SPM support is still under development and not fully stable. This limitation poses challenges for developers, as they encounter errors like:
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.
Even after enabling SPM, issues persist, hindering seamless integration.
The solution
Introduce CocoaPods support alongside SPM for the paystack_flutter_sdk plugin. This dual support would ensure broader compatibility across various development environments and cater to developers who rely on CocoaPods for iOS dependency management.
Alternatives
Continuing with SPM-only support, but this restricts the plugin's usability due to Flutter's incomplete SPM integration.
Manually modifying the plugin to support CocoaPods, which is not ideal for maintainability and consistency.
Additional context
Flutter's official documentation indicates that SPM support is still under development and recommends maintaining CocoaPods support for broader compatibility.
CocoaPods remains a widely used dependency manager in the iOS ecosystem, and supporting it would align the plugin with common practices.
Implementing CocoaPods support would enhance the plugin's accessibility and reliability for the Flutter community.
Hey @gausoft you are absolutely right. Thanks for sharing a detailed feedback. The reason for the support of only SPM is the underlying iOS SDK. The Flutter SDK is a wrapper of our native SDKs. Due to some dependencies, we've had issues with putting the iOS SDK on Cocoapods. Once this is resolved, we'll also be able to add the support on the Flutter SDK.
Activity
damilola-paystack commentedon Jun 2, 2025
Hey @gausoft you are absolutely right. Thanks for sharing a detailed feedback. The reason for the support of only SPM is the underlying iOS SDK. The Flutter SDK is a wrapper of our native SDKs. Due to some dependencies, we've had issues with putting the iOS SDK on Cocoapods. Once this is resolved, we'll also be able to add the support on the Flutter SDK.
gausoft commentedon Jun 2, 2025
Thanks
vinayUltivic commentedon Dec 19, 2025
any update @damilola-paystack ??
feat(ios): Add CocoaPods support alongside Swift Package Manager