Mobile in-app subscriptions are the most popular monetization method for most non-gaming apps these days. Yet implementing and testing in-app subscriptions in iOS is a complicated task.
Luckily Apple has presented a set of new convenient features for StoreKit testing in their Introducing StoreKit Testing in Xcode session during WWDC 2020. We have summarized the key changes for you.
![](https://framerusercontent.com/images/x653pe9dsPXZKAHTTVzWv7IBD2o.png)
![StoreKit Testing in Xcode 12](https://framerusercontent.com/images/q0ydnf29EyKr8Gq1HPkeEvulxM.jpg)
What’s new
StoreKit Configuration File
StoreKit Configuration File allows you to set up a local environment for in-app purchases testing without creating in-app products in App Store Connect.
To create StoreKit Configuration file just go File → New → File
![](https://framerusercontent.com/images/GEdAUItqM0f90KvxmPItKdI7TBo.png)
New StoreKit Configuration File
You can use three product types:
Consumable In-App Purchase
Non-Consumable In-App Purchase
Auto-Renewable Subscription
Now it is possible to change the rate at which time passes for auto-renewable subscriptions in a test environment using the Time Rate configuration:
![](https://framerusercontent.com/images/N5WXGLFVSgnFmSVYJ6tdW5clHjI.png)
StoreKit Transaction Manager
![](https://framerusercontent.com/images/OGjqUoDjEfi79skbMyYZWcZ0No.png)
StoreKit Transaction Manager is a very useful tool for local development and in-app subscription testing.
StoreKit Transaction Manager allows to:
cancel a subscription
refund a subscription
reset a subscription (as if a purchase never happened)
set a billing retry state for a subscription
To access the StoreKit Transaction Manager you need to choose your StoreKit Configuration File and click on the icon in the debugging area(field/bar).
StoreKitTest Framework
![](https://framerusercontent.com/images/jr5IsBpFmTW1zQU4LdNfi94O7vE.png)
New StoreKitTest framework works together with StoreKit Configuration File and allows creating Unit and UI tests. It allows testing automation for in-app purchases. The state is managed by SKTestSession. You can test:
Successful purchases
Failed purchases
Interrupted purchases
External transactions
Subscription offers
Managing Sandbox subscriptions
Sandbox subscription can be canceled or changed to another subscription within the same subscription group on a device.
There is also a new Reset Eligibility setting that resets the introductory offer. You no longer need to create a new sandbox account for testing.
![](https://framerusercontent.com/images/ByYBl3IVikYMTOQDYQEiGGMAwTw.png)
Conclusions
New features provide developers with a flexible environment and in-app transaction management tools. New capabilities of in-app test automation will help ship faster to the App Store and implement a more reliable in-app subscription.
To the best of my knowledge, it is the most significant update of testing capabilities for in-app purchases on iOS. I am sure it will improve the developer experience with in-apps and reduce the problems of in-app product implementation.
To learn more on how to handle StoreKit Errors please read this guide or discussions.
Mobile in-app subscriptions are the most popular monetization method for most non-gaming apps these days. Yet implementing and testing in-app subscriptions in iOS is a complicated task.
Luckily Apple has presented a set of new convenient features for StoreKit testing in their Introducing StoreKit Testing in Xcode session during WWDC 2020. We have summarized the key changes for you.
![](https://framerusercontent.com/images/x653pe9dsPXZKAHTTVzWv7IBD2o.png)
![StoreKit Testing in Xcode 12](https://framerusercontent.com/images/q0ydnf29EyKr8Gq1HPkeEvulxM.jpg)
What’s new
StoreKit Configuration File
StoreKit Configuration File allows you to set up a local environment for in-app purchases testing without creating in-app products in App Store Connect.
To create StoreKit Configuration file just go File → New → File
![](https://framerusercontent.com/images/GEdAUItqM0f90KvxmPItKdI7TBo.png)
New StoreKit Configuration File
You can use three product types:
Consumable In-App Purchase
Non-Consumable In-App Purchase
Auto-Renewable Subscription
Now it is possible to change the rate at which time passes for auto-renewable subscriptions in a test environment using the Time Rate configuration:
![](https://framerusercontent.com/images/N5WXGLFVSgnFmSVYJ6tdW5clHjI.png)
StoreKit Transaction Manager
![](https://framerusercontent.com/images/OGjqUoDjEfi79skbMyYZWcZ0No.png)
StoreKit Transaction Manager is a very useful tool for local development and in-app subscription testing.
StoreKit Transaction Manager allows to:
cancel a subscription
refund a subscription
reset a subscription (as if a purchase never happened)
set a billing retry state for a subscription
To access the StoreKit Transaction Manager you need to choose your StoreKit Configuration File and click on the icon in the debugging area(field/bar).
StoreKitTest Framework
![](https://framerusercontent.com/images/jr5IsBpFmTW1zQU4LdNfi94O7vE.png)
New StoreKitTest framework works together with StoreKit Configuration File and allows creating Unit and UI tests. It allows testing automation for in-app purchases. The state is managed by SKTestSession. You can test:
Successful purchases
Failed purchases
Interrupted purchases
External transactions
Subscription offers
Managing Sandbox subscriptions
Sandbox subscription can be canceled or changed to another subscription within the same subscription group on a device.
There is also a new Reset Eligibility setting that resets the introductory offer. You no longer need to create a new sandbox account for testing.
![](https://framerusercontent.com/images/ByYBl3IVikYMTOQDYQEiGGMAwTw.png)
Conclusions
New features provide developers with a flexible environment and in-app transaction management tools. New capabilities of in-app test automation will help ship faster to the App Store and implement a more reliable in-app subscription.
To the best of my knowledge, it is the most significant update of testing capabilities for in-app purchases on iOS. I am sure it will improve the developer experience with in-apps and reduce the problems of in-app product implementation.
To learn more on how to handle StoreKit Errors please read this guide or discussions.
Mobile in-app subscriptions are the most popular monetization method for most non-gaming apps these days. Yet implementing and testing in-app subscriptions in iOS is a complicated task.
Luckily Apple has presented a set of new convenient features for StoreKit testing in their Introducing StoreKit Testing in Xcode session during WWDC 2020. We have summarized the key changes for you.
![](https://framerusercontent.com/images/x653pe9dsPXZKAHTTVzWv7IBD2o.png)
![StoreKit Testing in Xcode 12](https://framerusercontent.com/images/q0ydnf29EyKr8Gq1HPkeEvulxM.jpg)
What’s new
StoreKit Configuration File
StoreKit Configuration File allows you to set up a local environment for in-app purchases testing without creating in-app products in App Store Connect.
To create StoreKit Configuration file just go File → New → File
![](https://framerusercontent.com/images/GEdAUItqM0f90KvxmPItKdI7TBo.png)
New StoreKit Configuration File
You can use three product types:
Consumable In-App Purchase
Non-Consumable In-App Purchase
Auto-Renewable Subscription
Now it is possible to change the rate at which time passes for auto-renewable subscriptions in a test environment using the Time Rate configuration:
![](https://framerusercontent.com/images/N5WXGLFVSgnFmSVYJ6tdW5clHjI.png)
StoreKit Transaction Manager
![](https://framerusercontent.com/images/OGjqUoDjEfi79skbMyYZWcZ0No.png)
StoreKit Transaction Manager is a very useful tool for local development and in-app subscription testing.
StoreKit Transaction Manager allows to:
cancel a subscription
refund a subscription
reset a subscription (as if a purchase never happened)
set a billing retry state for a subscription
To access the StoreKit Transaction Manager you need to choose your StoreKit Configuration File and click on the icon in the debugging area(field/bar).
StoreKitTest Framework
![](https://framerusercontent.com/images/jr5IsBpFmTW1zQU4LdNfi94O7vE.png)
New StoreKitTest framework works together with StoreKit Configuration File and allows creating Unit and UI tests. It allows testing automation for in-app purchases. The state is managed by SKTestSession. You can test:
Successful purchases
Failed purchases
Interrupted purchases
External transactions
Subscription offers
Managing Sandbox subscriptions
Sandbox subscription can be canceled or changed to another subscription within the same subscription group on a device.
There is also a new Reset Eligibility setting that resets the introductory offer. You no longer need to create a new sandbox account for testing.
![](https://framerusercontent.com/images/ByYBl3IVikYMTOQDYQEiGGMAwTw.png)
Conclusions
New features provide developers with a flexible environment and in-app transaction management tools. New capabilities of in-app test automation will help ship faster to the App Store and implement a more reliable in-app subscription.
To the best of my knowledge, it is the most significant update of testing capabilities for in-app purchases on iOS. I am sure it will improve the developer experience with in-apps and reduce the problems of in-app product implementation.
To learn more on how to handle StoreKit Errors please read this guide or discussions.
Mobile in-app subscriptions are the most popular monetization method for most non-gaming apps these days. Yet implementing and testing in-app subscriptions in iOS is a complicated task.
Luckily Apple has presented a set of new convenient features for StoreKit testing in their Introducing StoreKit Testing in Xcode session during WWDC 2020. We have summarized the key changes for you.
![](https://framerusercontent.com/images/x653pe9dsPXZKAHTTVzWv7IBD2o.png)
![StoreKit Testing in Xcode 12](https://framerusercontent.com/images/q0ydnf29EyKr8Gq1HPkeEvulxM.jpg)
What’s new
StoreKit Configuration File
StoreKit Configuration File allows you to set up a local environment for in-app purchases testing without creating in-app products in App Store Connect.
To create StoreKit Configuration file just go File → New → File
![](https://framerusercontent.com/images/GEdAUItqM0f90KvxmPItKdI7TBo.png)
New StoreKit Configuration File
You can use three product types:
Consumable In-App Purchase
Non-Consumable In-App Purchase
Auto-Renewable Subscription
Now it is possible to change the rate at which time passes for auto-renewable subscriptions in a test environment using the Time Rate configuration:
![](https://framerusercontent.com/images/N5WXGLFVSgnFmSVYJ6tdW5clHjI.png)
StoreKit Transaction Manager
![](https://framerusercontent.com/images/OGjqUoDjEfi79skbMyYZWcZ0No.png)
StoreKit Transaction Manager is a very useful tool for local development and in-app subscription testing.
StoreKit Transaction Manager allows to:
cancel a subscription
refund a subscription
reset a subscription (as if a purchase never happened)
set a billing retry state for a subscription
To access the StoreKit Transaction Manager you need to choose your StoreKit Configuration File and click on the icon in the debugging area(field/bar).
StoreKitTest Framework
![](https://framerusercontent.com/images/jr5IsBpFmTW1zQU4LdNfi94O7vE.png)
New StoreKitTest framework works together with StoreKit Configuration File and allows creating Unit and UI tests. It allows testing automation for in-app purchases. The state is managed by SKTestSession. You can test:
Successful purchases
Failed purchases
Interrupted purchases
External transactions
Subscription offers
Managing Sandbox subscriptions
Sandbox subscription can be canceled or changed to another subscription within the same subscription group on a device.
There is also a new Reset Eligibility setting that resets the introductory offer. You no longer need to create a new sandbox account for testing.
![](https://framerusercontent.com/images/ByYBl3IVikYMTOQDYQEiGGMAwTw.png)
Conclusions
New features provide developers with a flexible environment and in-app transaction management tools. New capabilities of in-app test automation will help ship faster to the App Store and implement a more reliable in-app subscription.
To the best of my knowledge, it is the most significant update of testing capabilities for in-app purchases on iOS. I am sure it will improve the developer experience with in-apps and reduce the problems of in-app product implementation.
To learn more on how to handle StoreKit Errors please read this guide or discussions.
Start Now for Free
Or book a demo with our team to learn more about Qonversion
Start Now for Free
Or book a demo with our team to learn more about Qonversion
Start Now for Free
Or book a demo with our team to learn more about Qonversion
Read more
Read more
![Trash Panda App partners with Qonversion](https://framerusercontent.com/images/fIjbGE1BlBzu0OZK7vCihIvo.webp)
Trash Panda Maximizes App Revenue after Setting the Best Subscription Price with A/B Tests
Jul 8, 2024
Jul 8, 2024
![StyleDNA with Qonversion](https://framerusercontent.com/images/0CYKPTzYfOn6vdokDrwSoFR4c.webp)
How StyleDNA Saved 20% Development Time and Unlocked New Features
Jun 19, 2024
Jun 19, 2024
![WWDC 24 updates](https://framerusercontent.com/images/OFmq7UmE6o7QKdnnbRBNKtgo.png)
WWDC24 Updates for App Developers | What's new in Storekit 2 and App Store Server API?
Jun 17, 2024
Jun 17, 2024
![Parenting by Iben Sandahl uses Qonversion](https://framerusercontent.com/images/qJ2twjlmMxXqQ2MggeZqrVbB580.webp)
How A/B Testing with Qonversion Helped Iben Sandahl’s Parenting App Double Their Sales
Jun 13, 2024
Jun 13, 2024
![Trash Panda App partners with Qonversion](https://framerusercontent.com/images/fIjbGE1BlBzu0OZK7vCihIvo.webp)
Trash Panda Maximizes App Revenue after Setting the Best Subscription Price with A/B Tests
Jul 8, 2024
Jul 8, 2024
![StyleDNA with Qonversion](https://framerusercontent.com/images/0CYKPTzYfOn6vdokDrwSoFR4c.webp)
How StyleDNA Saved 20% Development Time and Unlocked New Features
Jun 19, 2024
Jun 19, 2024
![WWDC 24 updates](https://framerusercontent.com/images/OFmq7UmE6o7QKdnnbRBNKtgo.png)
WWDC24 Updates for App Developers | What's new in Storekit 2 and App Store Server API?
Jun 17, 2024
Jun 17, 2024