StoreKit testing: SKErrorUnknown

Number:rdar://FB8100677 Date Originated:Jul 22, 2020 at 3:18 PM
Status:Open Resolved:
Product:XCTest Product Version:12.0 beta 2 (12A6163b)
Classification:Incorrect/Unexpected Behavior Reproducible:
When using StoreKit testing in Xcode 12.0 beta 2 (12A6163b) we see intermittent SKErrorUnknown errors for SKProductsRequest on autorenewing subscriptions. We see them both when interactively testing by selecting the .storekit in the schema as well as when running tests via SKTestSession. 

Sometimes, restarting Xcode, the Simulator or the device addresses the issue, sometimes not. In any case, reliable testing isn’t possible.


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!