Questions tagged [fileprovider-extension]
44 questions
0
votes
1 answer
How to programmatically open a file from FileProvider Extension (macOS)
Is there a way to programmatically open a file from FileProvider Extension?
My use case is that I have FileProviderUI-extension for macOS which shows a dialog with 'Open file' button. And I'd like when user clicks on 'Open file' button to open the…

mixtly87
- 1,675
- 15
- 32
0
votes
2 answers
How to force macOS File Provider Extension to re-enumerate items
Is there a way to force macOS File Provider Extension to re-enumerate items for given parent container?
I am aware that we can signalEnumerator(for: .workingSet) but that would just invoke the enumerateChanges callback in FileProviderEnumerator.…

mixtly87
- 1,675
- 15
- 32
0
votes
1 answer
How to retrieve the XPC service of a file provider extension on macOS?
I have extended my example project from my previous question with an attempt to establish an XPC connection.
In a different project we have successfully implemented the file provider for iOS. The exposed service must be resolved by URLs it is…

p13n
- 859
- 8
- 31
0
votes
0 answers
Attache debugger for File Provider Extension
I am developing a File Provider Extension for iOS. For no obvious reason, the debugger randomly stops attaching.
I am running Xcode Version 12.5.1 (12E507).
I created a fresh Project setup:
File -> New -> Project... -> Multiplatform -> App
and…

cocoseis
- 1,443
- 1
- 13
- 35
0
votes
0 answers
Display name For File provider extension
I would like to know how to modify the display name programatically on a file provider extension as shown in the image below
How to add this "Personal"

Raghav7890
- 458
- 3
- 13
0
votes
0 answers
Any better suggestions to debug iOS FileProvider extension?
I'm working on a document-based app and hence also working on the FileProvider extension for the app, as Apple suggests it
I've pretty much achieved all the basic functionalities for the extension(listing, previewing files, performing certain…

Lokesh SN
- 1,583
- 7
- 23
0
votes
1 answer
File Provider Extension, importDocumentAtURL:: can't read file at given URL (iOS 11.4.1)
I'm having troubles with Paste opertaions into my containers in File Provider extension.
If I paste copied image or text into Files app -> My App -> any folder the file at fileURL can not be read (as a result can't be uploaded to my servers nor…

Grigoriy Uskov
- 144
- 11
0
votes
1 answer
iOS File Provider Extension
I am working on a File Provider Extension for my iOS application. Everything is mostly working, except when I try to save the file to the disk it keeps returning this error:
Error Domain=NSPOSIXErrorDomain Code=2 "couldn't issue sandbox extension…

Asleepace
- 3,466
- 2
- 23
- 36
0
votes
1 answer
File provider extension upload - iOS11
Iam trying to implement FileProvider method - (void)importDocumentAtURL:(NSURL *)fileURL
toParentItemIdentifier:(NSFileProviderItemIdentifier)parentItemIdentifier
completionHandler:(void (^)(NSFileProviderItem importedDocumentItem,…

Raghavendra G
- 36
- 5
0
votes
1 answer
Apple FileProvider extention in File Application remove Copy, Duplicate operation from document browser's context menu action
I want to remove Copy, Duplicate operation from document browser's context menu action
In my code for class FileProviderItem modify property capabilities
class FileProviderItem: NSObject, NSFileProviderItem {
var capabilities:…

jignesh Vadadoriya
- 3,244
- 3
- 18
- 29
0
votes
1 answer
Apple File Application perform "Move" action via file provider extension my extention display disable
In my file provider extension i want to perform move operation in my NoteProvider extension.
I can move any file via Drag operation above any folder it works properly But when i try to "Move" via Action display in bellow screen at that time…

jignesh Vadadoriya
- 3,244
- 3
- 18
- 29
0
votes
1 answer
Apple Files Application "Raname" file/folder functionality not work in file provider extention
While Rename any item in Apple Files application vi File Provider Extension not work it display bellow error
The requested Operation couldn't be completed because the feature is
not supported.
In my FileProviderItem class i have set…

jignesh Vadadoriya
- 3,244
- 3
- 18
- 29
-1
votes
1 answer
File Provider UI extension on macOS
I'm asking this because the documentation is totally contradicting to itself on multiple occasions:
Extensions overview page (https://developer.apple.com/app-extensions/) claims it's not supported.
At the same time, on FileProviderUI docs page…

Dmitry
- 1,230
- 10
- 19
-1
votes
1 answer
Why is fetchContents(...) called when opening an already materialized file?
I am implementing a file provider based on NSFileProviderReplicatedExtension on macOS. Currently I am working on the download of remote dataless files which works fine so far. It is materialized and available locally and the related…

p13n
- 859
- 8
- 31