Potential Structural Swift Concurrency Issue: unsafeForcedSync called from Swift Concurrent context

I occasionally get the below runtime error in Xcode’s console:

Potential Structural Swift Concurrency Issue: unsafeForcedSync called from Swift Concurrent context.

What does this mean, and how can I resolve it? Googling it doesn’t turn up any results.

Is this an internal bug in Swift Concurrency, or something I’m potentially doing wrong?

Looks like this comes from /System/Library/PrivateFrameworks/AXCoreUtilities.framework/AXCoreUtilities (rather than from Swift's runtime/stdlib)

1 Like

Right. This is definitely coming from the platform accessibility subsystem rather than anything to do with Swift itself.

moreindirection, Given the above, my advice is that you ask about it over on the Apple Developer Forums, and specifically in the Accessibility & Inclusion > General subtopic. It’d help if you could include a crash report, per the advice in Posting a Crash Report.

I don’t monitor that subtopic normally, so reply here with the thread URL and I’ll be sure to take a look.

Share and Enjoy

Quinn “The Eskimo!” @ DTS @ Apple

1 Like

Thanks, Quinn! I’ll post there.

This isn’t actually crashing the app - it’s just an error diagnostic that I see in the Xcode console. The app keeps running before and after the issue.

I posted in the Developer Forums: Potential Structural Swift Concurr… | Apple Developer Forums

1 Like