iOS 18 启动崩溃 main_executable_path_missing

Triggered by Thread: 0

Thread 0 Crashed: 0 dyld 0x1a87922b0 lsl::PreallocatedAllocatorLayout<278528ull>::init(char const**, char const**, void*) + 436 1 dyld 0x1a878ba38 start + 1960

Thread 0 crashed with ARM Thread State (64-bit): x0: 0x2010003030100000 x1: 0x0000000fffffc0d0 x2: 0x0000000000000004 x3: 0x00000001a87607a9 x4: 0x0000000000000000 x5: 0x0000000000000000 x6: 0x0000000000000000 x7: 0x0000000000000000 x8: 0x2010003030100000 x9: 0x2010003030100000 x10: 0x000000016d923dfd x11: 0x00000001a87ccf30 x12: 0x0000000000000050 x13: 0x0000000000000044 x14: 0x0000000000052010 x15: 0x0000000000000000 x16: 0x0000000000000000 x17: 0x0000000000000000 x18: 0x0000000000000000 x19: 0x00000001801d0000 x20: 0x000000016d923b50 x21: 0x000000016d923af8 x22: 0x00000001e6184050 x23: 0x000000016d9237d8 x24: 0x0000000fffffc10c x25: 0x0000000000000000 x26: 0x0000000000000000 x27: 0x0000000000000000 x28: 0x0000000000000000 fp: 0x000000016d923870 lr: 0xb0228001a8792130 sp: 0x000000016d9237d0 pc: 0x00000001a87922b0 cpsr: 0x60001000 far: 0x00000001e61840e0 esr: 0x92000047 (Data Abort) byte write Translation fault

Binary Images: 0x1a8758000 - 0x1a87db693 dyld arm64e <77c1eed22ed7396aba34e770120d81d4> /usr/lib/dyld 0x1024dc000 - 0x10594ffff main_executable_path_missing arm64 <b4af5d3d511d3f9e8b5a66245101c348> /main_executable_path_missing 0x0 - 0xffffffffffffffff ??? unknown-arch <00000000000000000000000000000000> ???

Error Formulating Crash Report: dyld_process_snapshot_get_shared_cache failed

EOF

This crash report indicates that your app crashed really early during the boot process, before the dynamic linker managed to map your app’s main executable into memory.

Under what circumstances are you seeing this crash? Every time you run your app? From some beta testers? Or from general App Store users?

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Feedback is from online users on the App Store. The app crashes upon launch on iOS 18 every time it runs, even after uninstalling and reinstalling. Finally, the users were able to restore normal functionality by restarting their phones

We experience the same thing. Apps installed/reinstalled after iOS 18 upgrade. Running in simulator iOS 18 works fine.

I've attached the crash report.

App crahes at every run, both AppStore users and running from Xcode debug mode.

Restarting the phone worked, but not ideal for real users... Is this a known issue?

Getting the same crash on TestFlight builds.

Exception Codes: 0x0000000000000000, 0x0000000000000000
Termination Reason: GUARD 5 

Triggered by Thread:  0


Thread 0 Crashed:
0   dyld                          	0x00000001c05fe2b0 lsl::PreallocatedAllocatorLayout<278528ull>::init(char const**, char const**, void*) + 436 (Allocator.h:537)
1   dyld                          	0x00000001c05f7a38 start + 1960 (dyldMain.cpp:1289)


Thread 0 crashed with ARM Thread State (64-bit):
    x0: 0x2010003030100000   x1: 0x0000000fffffc0d0   x2: 0x0000000000000000   x3: 0x00000001c05cc7ad
    x4: 0x0000000000000000   x5: 0x0000000000000000   x6: 0x0000000000000000   x7: 0x0000000000000000
    x8: 0x2010003030100000   x9: 0x2010003030100000  x10: 0x000000016d587df9  x11: 0x00000001c0638f30
   x12: 0x0000000000000050  x13: 0x0000000000000044  x14: 0x0000000000052010  x15: 0x0000000000000000
   x16: 0x0000000000000000  x17: 0x0000000000000000  x18: 0x0000000000000000  x19: 0x0000000198040000
   x20: 0x000000016d587b48  x21: 0x000000016d587af0  x22: 0x00000001fdff0050  x23: 0x000000016d5877d8
   x24: 0x0000000fffffc10c  x25: 0x0000000000000000  x26: 0x0000000000000000  x27: 0x0000000000000000
   x28: 0x0000000000000000   fp: 0x000000016d587870   lr: 0x00000001c05fe130
    sp: 0x000000016d5877d0   pc: 0x00000001c05fe2b0 cpsr: 0x60001000
   esr: 0x92000047 (Data Abort) byte write Translation fault


Binary Images:
        0x102878000 -         0x10607bfff main_executable_path_missing arm64  <63aa333a30653d49871103e8126871f1> /main_executable_path_missing
        0x1c05c4000 -         0x1c0647693 dyld arm64e  <77c1eed22ed7396aba34e770120d81d4> /usr/lib/dyld
iOS 18 启动崩溃 main_executable_path_missing
 
 
Q