Xcode 12.2 breaks store kit testing (StoreKitTest)

I submitted a feedback about this, FB8900814, but thought i'd ask here. It seems that purchase revocation / cancelling is broken in storekit test in xcode 12.2. Code runs fine in 12.1.

Steps to reproduce:
  • Subscribe

  • Cancel transaction / revoke

  • Revocation callback not triggered

  • Receipt still says we're subscribed.

Anyone else noticing this?
Answered by rohirrim in 659234022
resolved by xcode 12.4. No feedback from apple at all.
I'm seeing the same with Xcode 12.2. The initial purchase works, but that's it.
Same here. Transactions are not shown on the transaction manager and the time rate setting doesn't work anymore.

Update: transactions shows again after I reset the simulator, but time rate setting is still not working.

Update again:
I'm in UTC+8 time zone and I found that the expiration date from the receipt was 8 hours later than it should be.
Subtract 8 hours from the expiration date and everything worked as expected..


This is still broken with Xcode 12.3. Does anyone have a solution?
receipt refresh is broken - more details
https://stackoverflow.com/questions/64916130/skreceiptrefreshrequest-always-fails-in-xcode-12-2-with-storekit-configuration

I also get " <SKReceiptRefreshRequest: 0x600003e73100>: Finished refreshing receipt with error: Error Domain=ASDServerErrorDomain Code=5002 "Unhandled exception" UserInfo={NSLocalizedDescription=Unhandled exception, NSLocalizedFailureReason=An unknown error occurred}
" when trying to refresh the receipt
Accepted Answer
resolved by xcode 12.4. No feedback from apple at all.
Xcode 12.2 breaks store kit testing (StoreKitTest)
 
 
Q