Is there anytime when
DispatchQueue.main.sync { // code }
is run, that doesn't cause a one of these errors also? I get the exact message when I run that code even when I don't put any code in the execution block:
Thread 1: EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0)
Topic:
Programming Languages
SubTopic:
Swift
Tags: