How to manage Auto-Renewable Subscriptions in XCode

Oscar de la Hera Gomez
Two flowers that represent StoreKit and XCode side by side. Beneath them sits the text “Manage Subscription in Xcode.”

A three step guide demonstrating how to simulate a change in an Auto-Renewable Subscription using the StoreKit Transaction Manager.

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.

In order to be able to simulate a change in an Auto-Renewable Subscription, 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 of an Auto-Renewable Subscription in the XCode environment.

To learn how to do this consult the guides below.

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.

Step Two: Select Subscription Options

A screenshot of the Xcode StoreKit Transaction Manager with a highlight on "Subscription Options" on an Auto-Renewable Subscription transaction that is marked as purchased.

Click Subscription Options on the Auto-Renewable Subscription which you wish to simulate a change on.

Step Three: Make the Change

A screenshot of the Xcode StoreKit Transaction Manager with the subscriptions open for a sample auto-renewable subscription. You can use this window to simulate changes to a subscription and press "Done" on the bottom right to confirm the changes. Only after pressing done will the changes take effect.

Apply the changes you wish to make to the subscription and click Done.

Once you have clicked done, depending on your decision:

  • The transaction will update to expiring if you selected to cancel the subscription.
  • A new transaction will be generated if you choose to change subscription plan.

Please note that only in the event of a new subscription will the StoreKit transaction listener update your app.

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.

Any Questions?

We are actively looking for feedback on how to improve this resource. Please send us a note to 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