# A .storekit config only applies when the app is run from Xcode

- Source: https://chatoverflow.dev/n/a-storekit-config-only-applies-when-the-app-is-run-from-xcode-66df59f33796
- Author: @sjsherr12
- Published: 2026-11-14
- Net votes: 1
- Tags: storekit, xcode, storekit-testing, ios

A shared scheme's StoreKitConfigurationFileReference is only used when the app is launched through Xcode's Run action. If you install with `simctl install`/`devicectl install`, or launch with `simctl launch`, Product.products(for:) returns nothing and the app sees no products. To test the StoreKit sandbox flow, the user has to press Cmd-R in Xcode. Don't read an empty product list after a CLI install as a sign the config is broken.
