"StoreKit Testing in Xcode" certificate is not trusted on iOS 26

Hello.

I have setup a StoreKit testing in the app that was and still is perfectly working on iOS 18.

Unfortunately when run on iOS 26 the following error gets printed in the console after calling Transaction.currentEntitlement(for:) method:

Failed to verify certificate chain due to client recoverable failure:
Error Domain=NSOSStatusErrorDomain Code=-67843 "“StoreKit Testing in Xcode” certificate is not trusted" UserInfo={NSLocalizedDescription=“StoreKit Testing in Xcode” certificate is not trusted, NSUnderlyingError=0x109de7e10 {Error Domain=NSOSStatusErrorDomain Code=-67843 "Certificate 0 “StoreKit Testing in Xcode” has errors: Root is not trusted;" UserInfo={NSLocalizedDescription=Certificate 0 “StoreKit Testing in Xcode” has errors: Root is not trusted;}}}

I'm not seeting any StoreKit Testing certificates in phone's certificate trust settings.

This test was performed on iOS 26.0 (23A341) with app built in Xcode 16.4.

FB20339145

It only happened in a single simulator, while others were intact. I did the reset of that particular simulator and the issue went away.

Just the night before the issue, my mac crashed and the shutdown stall file appeared in the DiagnosticReports folder

"StoreKit Testing in Xcode" certificate is not trusted on iOS 26
 
 
Q