Out of nowhere I got some red banner on top of my iPhone 13 mini / iOS 17.5. I cannot pin point the root cause of this. What I can say is that it only happens to Simulators of a certain type, e.g. iPhone 12 and 13 mini, but not iPhone 14 for example.
I have installed Xcode 26.1.0 and 26.1.1, out of which 26.1.0 is selected:
$ xcode-select -p
/Applications/Xcode-26.1.0.app/Contents/Developer
And following runtimes:
$ xcrun simctl runtime list
== Disk Images ==
-- iOS --
iOS 17.5 (21F79) - CF933623-A258-44F8-B248-C0F25C0C343B (Ready)
iOS 26.1 (23B80) - D11C3CDC-EE3D-44CC-8B92-9B7D00B54B0B (Ready)
Total Disk Images: 2 (14.6G)
Installing the newer 26.1 23B86 runtime doesn't help either.
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Created
Hi,
I'm looking for some advise how to narrow down the location of the crash.
When I run the app with Debug configuration (GCC_OPTIMIZATION_LEVEL=0) everything just works. But in Release configuration with -Os the app crashes. Also need to mention that the crash happens on the device only, but not on the simulator. When the crash happens, there's no stack trace available. The crash happens every time, a couple seconds after I see the first screen. Currently I'm using Xcode Version 16.0 (16A242d), but I have also tried all combinations of:
Xcode 16.1 Beta 1
Xcode 16.1 Beta 2
Device with iOS 18
Device with iOS 17.7
Device with iOS 17.6.1
The result is always the same.
(lldb) bt
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=257, address=0x100000002)
* frame #0: 0x0000000100000002
Is there anything I can do to further narrow down the location of the crash?
Here's a full crash report that I got from the device: https://gist.github.com/plu/e9ed984f438358b5fbf120148cbbaef0