In the session "Introducing StoreKit Testing in Xcode" There is a sample project that can be downloaded ( https://developer.apple.com/documentation/swiftui/fruta_building_a_feature-rich_app_with_swiftui ). This download does not have the StoreKit files shown in the example during the session.
It is missing the following files
Store.swift
NonConsumable.storekit
Subscription.storekit
ReceiptHelpers - (this is a group folder and we cannot see the files contained in it when shown during the session)
Are these files available for download, so that we can see the code used to set up StoreKit for an app?
It is missing the following files
Store.swift
NonConsumable.storekit
Subscription.storekit
ReceiptHelpers - (this is a group folder and we cannot see the files contained in it when shown during the session)
Are these files available for download, so that we can see the code used to set up StoreKit for an app?
The version of the app available for download is the version that was demoed during the Platforms State of the Union. This version has both the Store.swift file and a Configuration.storekit file that has a non-consumable product available for purchase. This should have everything you need to get started with testing the basic functionality, and then you can expand on it to match your needs.
For more sample code on working with StoreKit and in-app purchase in general, we also provide this documentation and sample app.
For more sample code on working with StoreKit and in-app purchase in general, we also provide this documentation and sample app.