If using Realm, running Release model on Xcode15 will result in an error on the iOS 15 phone, but it works on the Debug model and iOS 17 system. I'm not sure if there are any issues with other versions of the iOS system.
The issue with realm on xcode15.
It’s hard to say what’s going on here without more info. Please post a crash report for this issue. See Posting a Crash Report for advice on how to do that (including how to get a crash report after you end up stopped in the debugger).
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"
Thanks. The problem has been resolved. It needs to reduce iOS Deployment Target of the Realm.