Swiftpack.co - danielsaidi/StoreKitPlus as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by danielsaidi.
danielsaidi/StoreKitPlus 0.1.0
StoreKitPlus contains additional functionality for working with StoreKit 2.
⭐️ 15
🕓 1 week ago
iOS macOS watchOS tvOS
.package(url: "https://github.com/danielsaidi/StoreKitPlus.git", from: "0.1.0")

StoreKitPlus Logo

Version Swift UI Swift 5.6 MIT License Twitter: @danielsaidi

About StoreKitPlus

StoreKitPlus adds extra functionality for working with StoreKit 2, like extensions, observable state, services, etc.

StoreKitPlus has an observable StoreContext that lets you observe store state, a StoreService protocol and a StandardStoreService implementation that simplifies fetching, purchasing and syncing products, as well as a ProductRepresentable protocol that lets you use local product representations in your app.

Supported Platforms

StoreKitPlus supports iOS 15, macOS 12, tvOS 15 and watchOS 8.


The best way to add StoreKitPlus to your app is to use the Swift Package Manager.


StoreKitPlus also supports CocoaPods:

pod StoreKitPlus

You can also clone the repository and build the library locally.

Getting started

The online documentation has a guide to get started with StoreKitPlus.


The online documentation contains more information, code examples etc. and makes it easy to overview the various parts of the library.

The online documentation is currently iOS only. To generate documentation for other platforms, open the package in Xcode, select a simulator then run Product/Build Documentation.

Demo Application

This project currently has no demo app, since registering and testing real products requires setting up App Store Connect with your products.

Just let me know if you'd like a demo app, and I'll see if I can create an app that has a local StoreKit file and doesn't have to sync with App Store Connect.


You can sponsor this project on GitHub Sponsors or get in touch for paid support.


Feel free to reach out if you have questions or if you want to contribute in any way:


StoreKitPlus is available under the MIT license. See LICENSE file for more info.


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

Release Notes

1 week ago

This is a first beta release of StoreKitPlus.

This version introduces a bunch of types that makes it easier to work with StoreKit in an abstract, protocol-driven way.

✨ Features

  • StoreContext is a new, observable type.
  • StoreService is a new protocol for comunicating with StoreKit.
  • StandardStoreService is a new class for comunicating with StoreKit.
  • ProductRepresentable is a new protocol for providing local products.
  • ValidatableTransaction is a new protocol for transaction validation.

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