XCode 12 Beta 5 Document App using the default template in simulator NOTHING happens after click the create/add document button.

XCode 12 Beta 5 Document App

Create project using the cross-platform document based app.

Run for example iPhone Pro 14.0 simulator.

The document UI is shown. Then click the add or create document.

NOTHING happens after click the create/add document button.


Code Block
2020-08-22 17:40:39.269578+0800 XCodeBeta5Doc[21402:486016] libMobileGestalt MobileGestaltCache.c:38: No persisted cache on this platform.
2020-08-22 17:40:40.406663+0800 XCodeBeta5Doc[21402:486010] [AXRuntimeCommon] Unknown client: XCodeBeta5Doc

I have got the same problem...(did still work in Beta 2)
If I may venture a guess, I would think that this is connected to the change in the interface exposed by the 'FileDocument' protocol that has been introduced with Beta 5. It is deprecating 'init(fileWrapper: FileWrapper, contentType: UTType) throws' and 'write(to fileWrapper: inout FileWrapper, contentType: UTType) throws' and introducing 'init(configuration: Self.ReadConfiguration) throws' and 'func fileWrapper(configuration: Self.WriteConfiguration) throws -> FileWrapper' instead.
It's probably caused by a bug in the ?DocumentUI?

iOS & iPadOS 14 Beta 5 Release Notes

https://developer.apple.com/documentation/ios-ipados-release-notes/ios-ipados-14-beta-release-notes

SwiftUI
Known Issues
Document-based apps are unable to create new untitled documents in the app document browser. (66936677)
Workaround: Open an existing document, or create a new untitled document outside the app.


I've just rollback to beta 4 anyway.
XCode 12 Beta 5 Document App using the default template in simulator NOTHING happens after click the create/add document button.
 
 
Q