11 questions
0
votes
0
answers
37
views
Apple StoreKitTest.framework for x86_64?
I'm writing ui test for my app with StoreKitTest, it works well in my local mac device, but I encountered an link error when Xcode builds my ui test target in Xcode Cloud environment:
Showing All ...
2
votes
1
answer
348
views
I can't find the Storekit configuration file for unit test
I'm writing a library for Storekit. I want to write a unittest of my code. But I cannot see the storekit configuration file I added. And I get the following error: testFetchProducts(): failed: caught ...
0
votes
0
answers
168
views
StoreKit 2 Sandbox user subscriptions wrong productID issue
Strange behavior was found for subscription upgrades/downgrades for Sandbox users.
Step 1: Select from the internal app UI productId.
Step 2: Get the product from StoreKit by Product.products(for: [...
2
votes
0
answers
160
views
Apple StoreKit 2: how can we test Family Sharing?
I'm not a member of any Family in iCloud. I want to understand what happens when a user is subscribed through Family Sharing but also how to use StoreKit when the user is subscribed twice: as an ...
8
votes
1
answer
2k
views
SKReceiptRefreshRequest always fails in Xcode 12.2 with .storekit configuration file
When I run the app with .storekit configuration file in Xcode 12.2 / iOS 14.2 Simulator, my SKReceiptRefreshRequest always fails, I get an error in my func request(_ request: SKRequest, ...
2
votes
0
answers
315
views
Simulate failed transaction using StoreKitTest
I am trying to use StoreKitTest to simulate .failed transaction in my unit tests. For the test session I set:
testSession.failTransactionsEnabled = true
testSession.failureError = SKError.Code.unknown
...