Can confirm that this is happening on iOS 18.0 RC with Xcode 16 RC when in Swift 6.0 mode and optimisations enabled. When optimisations are not enabled, or if we're in Swift 5 mode, the crash does not occur. From what I see the crash is with an assert - so the issue may be an assert in iOS that assumes the asynchronous renderer is being tied to a specific dispatch queue, and the optimised build possibly does not tie the renderer into a specific dispatch queue, as it possibly uses an actor. I hope this additional input helps. It would be a shame if we can't compile for Swift 6.0 for iOS 18.0, I hope this gets fixed...
Edit: Found the exception text too:
EXC_BREAKPOINT: BUG IN CLIENT OF LIBDISPATCH: Assertion failed: Block was expected to execute on queue [com.apple.main-thread (0x1eee64a80)] > com.apple.main-thread