How to delete StoreKit Transactions in XCode

A two step guide on deleting StoreKit transactions in XCode.

Oscar de la Hera Gomez
Written by Oscar de la Hera Gomez
First published on 03/24/2023 at 14:10
Last Updated on 03/27/2023 at 15:16
Two flowers that represent StoreKit and XCode side by side. Beneath them sits the text "Delete StoreKit Transaction in XCode."

A two step guide on deleting StoreKit transactions in XCode.

The guide was made using our Free iOS StoreKit 2 Open Source project which is recommended for developers or business folk wishing to learn about how In-App Purchases or Subscriptions work and the code behind them.

SubscribeFree Open-Source Apple StoreKit 2 Swift Project

In order to be able to delete StoreKit Transactions, you need to have a project that has StoreKit setup with a coordinator that can make purchases, have StoreKit testing enabled and have made at least one successful purchase in the XCode environment.

To learn how to do this consult the guides below.

How to setup StoreKit in XCodeHow to create a StoreKit offering in XCode or App Store ConnectHow to create a StoreKit Coordinator in SwiftHow to enable StoreKit testing in XCode

Step One: Open the StoreKit Transaction Manager

A screenshot of Xcode highlighting the StoreKit Transaction Manager button on the debug bar at the bottom of the screen. Its the second to last on the debug options area of the debug bar.

Open the StoreKit Transaction Manager.

For a guide on how to do so, use the link below.

How to open the StoreKit Transaction Manager in XCode

Step Two: Delete a Transaction

A screenshot of the StoreKit Transaction Manager with a transaction highlighted. Once you select a transaction, you can delete it using the delete button on the top right.

Select a transaction and delete it by pressing the trash can icon.

Looking to learn more about developing apps with StoreKit 2?

Read our comprehensive development guide linked below to learn about all the secrets behind developing In-App Purchases and Subscriptions with StoreKit 2.

Read Apple StoreKit 2 Development Guide

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.
SubscribeContact UsVisit our BlogView our ServicesView our Work

Partner with us

We would love to get to know you and see how we can help your organization with its goals and needs.
Let's Talk

Stay Informed

Get occasional updates about our company, research, and product launches.
Subscribe