App Crashes in Xcode 26 Beta 3

Hi,

I'm trying to install run the app in Xcode 26 Beta 3 and getting the below error.

*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Error during decoding of 1723: Error Domain=NSCocoaErrorDomain Code=4864 "Class 'BSAuditToken' has a superclass that supports secure coding, but 'BSAuditToken' overrides -initWithCoder: and does not override +supportsSecureCoding. The class must implement +supportsSecureCoding and return YES to verify that its implementation of -initWithCoder: is secure coding compliant." UserInfo={NSDebugDescription=Class 'BSAuditToken' has a superclass that supports secure coding, but 'BSAuditToken' overrides -initWithCoder: and does not override +supportsSecureCoding. The class must implement +supportsSecureCoding and return YES to verify that its implementation of -initWithCoder: is secure coding compliant.}'

terminating due to uncaught exception of type NSException CoreSimulator 1043 - Device: iPhone 16 Pro (F158F199-A41E-4967-87C6-58A42C9C1954) - Runtime: iOS 26.0 (23A5287g) - DeviceType: iPhone 16 Pro

Appreciate the help in advance

Is BSAuditToken a class you defined ?

If so, did you implemented supportsSecureCoding as instructed in the error message ?

BSAuditToken is an Apple class. It sounds like the simulator is crashing here, is that accurate? Regardless, please file a bug report regarding this message, along with as much supporting information as possible, and then post the FB number here for the record.

It would be helpful to also know whether a brand new Xcode project from one of Xcode's templates also creates this issue in the simulator, or if it is limited only to your specific app.

— Ed Ford,  DTS Engineer

App Crashes in Xcode 26 Beta 3
 
 
Q