Blank white screen on UIDocumentBrowserViewController

Originator:matthias.tretter
Number:rdar://35587230 Date Originated:16-Nov-2017 02:47 PM
Status:Open Resolved:
Product:iOS + SDK Product Version:iOS 11.2 Beta
Classification:Serious Bug Reproducible:Sometimes
 
Summary:
Sometimes UIDocumentBrowserViewController fails to load, leaving the app with a blank white screen. This seems to be a regression in iOS 11.2 Beta, at least I didn’t notice it before. The console prints this error message:

[DocumentManager] Failed to get the remote browser View Controller with error (Error Domain=NSExtensionErrorDomain Code=-1 "Unable to initialize remote proxy for extension. The connection was interrupted." UserInfo={NSLocalizedDescription=Unable to initialize remote proxy for extension. The connection was interrupted.})

Steps to Reproduce:
Start a UIDocumentBrowser-based app

Expected Results:
It always loads and displays the document browser

Actual Results:
Sometimes it fails and displays a blank white screen (often enough on my iPhone 6S that it made me file this bug report)

Version:
iOS 11.2 Beta

Notes:

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.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!