DocumentGroup will not open document from the Files app on iOS but will open it from Finder on macOS

Originator:indiekiduk
Number:rdar://FB16401269 Date Originated:2025-01-24
Status:Open Resolved:No
Product:iOS Product Version:18.2
Classification:Bug Reproducible:Always
 
Download this sample project
https://developer.apple.com/documentation/swiftui/building-a-document-based-app-with-swiftui
I have also attached it
Run it on iOS, e.g. iPhone 16 pro simulator or iPad Pro 11" M4 simulator.

Create document, edit it a little, tap back to exit document. 
Switch to Files app. Locate the file either On my device or in iCloud in a folder the same name as the app. Tap the document.

What should happen.
It should switch to the app AND open the document.

What happens
It switches to the app but it does not open the document!

Interestingly, on macOS when opening the .story document from Finder it does launch the app AND open the document as expected. Hope this can be fixed on iOS because I really need it for my new document app, thanks.

Xcode Version 16.2 (16C5032a)
Simulator iPhone 16 Pro iOS 18.2 (22C150)

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at feedbackassistant.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!