App runs successfully in Xcode in simulator and on device, but crashes on iOS 14 when archived and installed either ad hoc or using TestFlight. Archived app works on iOS 15.
This is a 100% SwiftUI app that ran successfully on iOS 14 & 15 prior to Xcode 13.2.
Relevant log:
Date/Time: 2021-12-16 17:37:54.4907 -0800
Launch Time: 2021-12-16 17:37:43.7261 -0800
OS Version: iPhone OS 14.8.1 (18H107)
Release Type: User
Baseband Version: n/a
Report Version: 104
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000000000
VM Region Info: 0 is not in any region. Bytes before following region: 4295491584
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
UNUSED SPACE AT START
--->
__TEXT 100080000-1005f0000 [ 5568K] r-x/r-x SM=COW .../App-Name-Redacted
Termination Signal: Segmentation fault: 11
Termination Reason: Namespace SIGNAL, Code 0xb
Terminating Process: exc handler [25305]
Triggered by Thread: 0
Additional Logging