Oh boy, #iOSDev can be so frustrating, in particular when trying to debug widgets. My widget displays a pretty version of a document stored in iCloud or the app's sandbox. Works beautifully... until you restart your phone. I was using the built-in URL option in the intent config and naively assumed this would work with file URLs. But I need to recreate fresh new URL "instances" in my widget, even if printing them looks the same as what comes from the intent config. Took me a few hours...
Finally I can go back to fixing those bugs where I can blame myself.
