Home / Companies / RevenueCat / Blog / Post Details
Content Deep Dive

StoreKit Testing Improvements in iOS 14

Blog post from RevenueCat

Post Details
Company
Date Published
Author
Jacob Eiting
Word Count
787
Language
English
Hacker News Points
-
Summary

At WWDC 2020, Apple introduced several enhancements to simplify the process of configuring and testing in-app purchases for iOS apps through new tools and features in Xcode. These updates include the StoreKitTest.framework, which integrates with XCTest for unit and UI tests, enabling developers to simulate various purchase scenarios like refunds, cancellations, and interruptions in a new Local StoreKit environment. The introduction of the StoreKit Configuration File allows developers to configure SKProducts directly from Xcode for testing, simulating features previously only testable in production. Additionally, the iOS Simulator now supports testing purchases without a physical device, and new subscription management options in the developer sandbox enable thorough on-device testing. These advancements aim to enhance app quality and developer efficiency by providing a more robust testing framework for in-app purchases.