After trying a little bit around, I think it is because OneDrive does not have its file locally, hence the error "no such file or directory". If in OneDrive I mark the file as "keep offline available", then it works.
So the question would now rather be: How can I detect such a linked file, and is there a possiblity to download the file located in OneDrive first from UIDocumentPickerViewController?
Topic:
App & System Services
SubTopic:
Core OS
Tags: