Swiftpack.co - Kumulos/KumulosSdkSwift as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by Kumulos.
Kumulos/KumulosSdkSwift 10.0.0
Official Swift SDK for integrating Kumulos services with your mobile apps
⭐️ 8
🕓 2 weeks ago
.package(url: "https://github.com/Kumulos/KumulosSdkSwift.git", from: "10.0.0")

Kumulos Swift SDK Carthage compatible

Kumulos provides tools to build and host backend storage for apps, send push notifications, view audience and behavior analytics, and report on adoption, engagement and performance.

Select an installation method below to get started.

Get Started with CocoaPods

Add the following line to your app's target in your Podfile:

pod 'KumulosSdkSwift', '~> 10.0.0'

Run pod install to install your dependencies.

Get Started with Carthage

Add the following line to your Cartfile:

github "Kumulos/KumulosSdkSwift" ~> 10.0.0

Run carthage update to install your dependencies then follow the Carthage integration steps to link the framework with your project.

Also link your project against:

  • SystemConfiguration.framework
  • MessageUI.framework (for iOS projects)
  • libc++
  • libz

And add the -ObjC linker flag to 'Other Linker Flags' under 'Build Settings'.

N.B. make sure to link the dynamic KSCrash.framework from the Carthage build, and not the one under Static/

Get Started with Swift Package Manager

In Xcode add a package dependency by selecting:

File > Swift Packages > Add Package Dependency

Choose this repository URL for the package repository and 9.2.5 for the version where prompted. You can then follow the integration steps below or read the full Kumulos Swift integration guide for more information.

Initializing and using the SDK

After installation, you can now import & initialize the SDK with:

import KumulosSDK

let builder = KSConfigBuilder(apiKey: "your-api-key", secretKey: "your-secret-key")
Kumulos.initialize(config: builder.build())

For more information on integrating the Swift SDK with your project, please see the Kumulos Swift integration guide.


Pull requests are welcome for any improvements you might wish to make. If it's something big and you're not sure about it yet, we'd be happy to discuss it first. You can either file an issue or drop us a line to support@kumulos.com.


This project is licensed under the MIT license with portions licensed under the BSD 2-Clause license. See our LICENSE file and individual source files for more information.


  • iOS9+
  • Swift5.0

Swift Version Support

Swift Version SDK Version
3.0 2.x
4.2 4.x
5.0 5.x, 6.x, 7.x, 8.x, 9.x


Stars: 8
Last commit: 2 weeks ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.


Release Notes

10.0.0 - In-app sync behaviour changes
2 weeks ago
  • Don't block caller when performing in-app syncs
  • Don't perform unnecessary in-app syncs from content-available pushes

Breaking Changes

  • Minimum iOS target increased to 10.0

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics