Having a problem when I am running AVFoundation SDAVAssetExportSession.exportAsynchronously code in Xcode 13 on the Simulator, running either iOS 15 or iOS 14.5.
This is code that has worked on every version of Xcode and Simulator (iOS 11.0+) for the last 5 years. This code still works on my device running iOS 14.8.
However, after upgrading to Xcode 13, I am getting this problem of API Misuse when running AVFoundation SDAVAssetExportSession.exportAsynchronously. This is code that has worked for years without change. How can i fix this, or is this a bug in Xcode 13?
0x1084c7b45 <+81>: movl $0xa0, %esi
0x1084c7b4a <+86>: movq %rbx, %rdi
0x1084c7b4d <+89>: xorl %eax, %eax
0x1084c7b4f <+91>: callq 0x1084d48dc ; symbol stub for: snprintf
0x1084c7b54 <+96>: movq %rbx, 0x2196d(%rip) ; gCRAnnotations + 8
0x1084c7b5b <+103>: leaq 0x112f9(%rip), %rax ; "API Misuse"
0x1084c7b62 <+110>: movq %rax, 0x21967(%rip) ; gCRAnnotations + 16
-> 0x1084c7b69 <+117>: ud2