Describe the bug
I'm having an issue when calling the following code when the device is not running via Xcode. When running via Xcode everything works perfectly fine. Really not sure what could be causing SKProductsRequest to fail when running the app away from Xcode.
Code is straight forward and inside the init() I'm using
The identifiers are the same
The request doesn't return an error
Nothing reported in the console crash logs
App Store setup is configured correctly
App Store Connect information is correct
This only happens when the device is disconnected from an Xcode run session and works when using cmd+r. If I remove the code inside the init everything works fine, except I'm not getting the products :)
Describe the bug I'm having an issue when calling the following code when the device is not running via Xcode. When running via Xcode everything works perfectly fine. Really not sure what could be causing SKProductsRequest to fail when running the app away from Xcode.
Code is straight forward and inside the init() I'm using
The delegate response:
internal func productsRequest(_ request: SKProductsRequest, didReceive response: SKProductsResponse) { products = response.products }
Things I've checked:
This only happens when the device is disconnected from an Xcode run session and works when using cmd+r. If I remove the code inside the init everything works fine, except I'm not getting the products :)