Can't download a file in file provider because of a system error.

Now, I have created an extension via the fileprovider template and adopts fileprovider protocols. But when i download a file, the system throws the error:

"Couldn't communicate with helper application".

From the system log i can see that the fetch-content failed with such error:

┳139b4 ‼️ done executing <FP2 ‼️ fetch-content(a file 1) why:materialization|itemChangedRemotely sched:userInitiated.1647482996.810533#1647482996.810533 error:<NSError: Cocoa 4101 "Couldn't communicate with helper application." Underlying={NSError: POSIX 2 "couldn't issue sandbox extension com.apple.app-sandbox.read-write for '/f/db641e9a04e144c6b320': No such file or directory" }}>>

Any advise would be appreciated, thanks!

But when i download a file, the system throws the error

You’re talking about downloading a file within your file provider, right? If so, what API are you using for that download?

Oh, and what platform are you targeting?

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Can't download a file in file provider because of a system error.
 
 
Q