Just started seeing this today on Xcode 13 on Simulator, and tested on iOS 15 and 14.5 (both on Simulator). Cannot reproduce on device. This is super frustrating. Anyone have a solve for it yet.
Post
Replies
Boosts
Views
Activity
happening in xcode 13.1 as well
and happening in xcode 12.5
I am not getting any stack trace when the crash occurs. I only get a dump from the thread, which appears to be assembly or some instruction set. I'll paste that in full here.
libxpc.dylib`_xpc_api_misuse:
0x111774af4 <+0>: pushq %rbp
0x111774af5 <+1>: movq %rsp, %rbp
0x111774af8 <+4>: pushq %rbx
0x111774af9 <+5>: subq $0xa8, %rsp
0x111774b00 <+12>: movq %rdi, %rcx
0x111774b03 <+15>: movaps 0xd9f6(%rip), %xmm0 ; __xpcVersionNumber + 16
0x111774b0a <+22>: leaq -0xb0(%rbp), %rbx
0x111774b11 <+29>: movaps %xmm0, 0x90(%rbx)
0x111774b18 <+36>: movaps %xmm0, 0x80(%rbx)
0x111774b1f <+43>: movaps %xmm0, 0x70(%rbx)
0x111774b23 <+47>: movaps %xmm0, 0x60(%rbx)
0x111774b27 <+51>: movaps %xmm0, 0x50(%rbx)
0x111774b2b <+55>: movaps %xmm0, 0x40(%rbx)
0x111774b2f <+59>: movaps %xmm0, 0x30(%rbx)
0x111774b33 <+63>: movaps %xmm0, 0x20(%rbx)
0x111774b37 <+67>: movaps %xmm0, 0x10(%rbx)
0x111774b3b <+71>: movaps %xmm0, (%rbx)
0x111774b3e <+74>: leaq 0x11303(%rip), %rdx ; "XPC API Misuse: %s"
0x111774b45 <+81>: movl $0xa0, %esi
0x111774b4a <+86>: movq %rbx, %rdi
0x111774b4d <+89>: xorl %eax, %eax
0x111774b4f <+91>: callq 0x1117818dc ; symbol stub for: snprintf
0x111774b54 <+96>: movq %rbx, 0x2196d(%rip) ; gCRAnnotations + 8
0x111774b5b <+103>: leaq 0x112f9(%rip), %rax ; "API Misuse"
0x111774b62 <+110>: movq %rax, 0x21967(%rip) ; gCRAnnotations + 16
-> 0x111774b69 <+117>: ud2
Simulator logs,, CoreSimulator logs etc are all empty. There are no useful logs to post, as far as I can tell. Even with debugger, it crashes somewhere inside the exportAsynchronously function. Nothing useful comes from trying to step into it with the debugger either.