I am having the same problem. I am able to load security scoped URLs through the file picker API's but any drag and drop operations put me to temporary files. I have tried both the load file in place APIs as well:
provider.loadInPlaceFileRepresentation(forTypeIdentifier: type.identifier)
provider.loadFileRepresentation(for: type, openInPlace: true)
For my use case, I want the user to be able to open the original file from my app without copying their data into the sandbox.
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: