I'm trying to switch to UIKit's document lifecycle due to serious bugs with SwiftUI's version.
However I'm noticing the template project from Xcode isn't compatible with Swift 6 (I already migrated my app to Swift 6.). To reproduce:
- File -> New -> Project
- Select "Document App" under iOS
- Set "Interface: UIKit"
- In Build Settings, change Swift Language Version to Swift 6
- Run app
- Tap "Create Document"
- Observe: crash in
_dispatch_assert_queue_fail
Does anyone know of a work around other than downgrading to Swift 5?