How to get StoreKit In-App Purchases and Subscriptions in Swift

Oscar de la Hera Gomez
Two flowers that represent StoreKit and App Store Connect. Beneath them sits the text "Get StoreKit Products."

A guide on gathering local StoreKit or App Store Connect products in XCode & making them available to a Swift iOS, iPadOS, MacOS, TVOS or WatchOS application.

Step One: Setup StoreKit in XCode

A screenshot of Xcode showing a StoreKit configuration file synced to App Store Connect.

To be able to gather In-App Purchases and Subscriptions (products), you must first create a StoreKit Configuration File which is either local or synced to App Store Connect.

This implies that the StoreKit Configuration File must include a product offering for the App to offer to users.

For tutorials on how to do so, consult the links below.

Step Two: Create the Coordinator

A screenshot of XCode showing the logs that describe that the StoreKitCoordinator was initialized successfully and that it gathered all the In-App Purchases and Subscriptions from the StoreKit Configuration File.

Create a StoreKit Coordinator (manager) that handles the gathering of products.

Please consult the tutorial below, which details how to do so, as well as how to manage all transactions associated with StoreKit.

Please note that the tutorial below does not cover consumables.

Any Questions?

We are actively looking for feedback on how to improve this resource. Please send us a note to inquiries@delasign.com with any thoughts or feedback you may have.
delasign logo

Book a Free Consultation.

An icon of an email.

Click here to email us.

Fill in the details below to book a free consultation or to let us know about something else. Whatever it is, we are here to help.

How can we help you ?

Contact Details