StoreKit

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?
Answered by Engineer in 615923022
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.
Accepted Answer
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.
Thank you. I see those two files now. I was asking because the demo in the session was different that the code that is downloaded. Also, thank you for pointing me to the additional example.
StoreKit
 
 
Q