51 questions
0
votes
0
answers
44
views
FileProvider extension with pagination is getting stuck with 10k items in swift iOS
I am working on a file provider extension in Swift iOS, and I am able to load all the data in an API call, but this is causing a memory issue, and the app is crashing. To fix this problem, I am trying ...
0
votes
0
answers
68
views
My Main App's File Provider Extension cannot be started for some time
We use File Provider Extension in our main app, and it is working fine. We always call "NSFileProviderManager.add(_:completionHandler:)" function to start the extension, and "...
4
votes
2
answers
575
views
Unable to find file provider extension with identifier
I’m developing a file provider extension for macOS; I’m working with xcode 16 and macOS Sequoia.
I created an host application via xcode with a simple button “Add domain” that triggers the following ...
1
vote
0
answers
127
views
File provider extension not enumerating subfolders
I am implementing the NSFileProviderReplicatedExtension and have problem understanding what triggers a directory enumeration (either enumerateItems or enumerateChanges.
My setup is as follows:
On the ...
0
votes
1
answer
178
views
Profile memory usage of iOS File Provider extension
We want to profile the memory usage of the File Provider extension of our iOS app using Instruments. A File Provider extension only has access to a limited amount of RAM (currently 15MB on iOS 17), ...
0
votes
1
answer
327
views
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.
...
0
votes
1
answer
103
views
How to add Actions to MACOS FileProvider API and use them in the Code?
I'm working on a macOS project that involves the FileProvider API. I would like to add custom actions to the items provided by the FileProvider and use them in my code. How can I achieve this?
...
0
votes
1
answer
290
views
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 ...
1
vote
1
answer
475
views
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 ...
1
vote
1
answer
219
views
Is there a way to prevent file deletion in deleteItem callback in macOS FileProviderExtension?
In macOS FileProviderExtension, when user deletes an item in Finder, a deleteItem callback is invoked. And here I don't mean trashing the item but really deleting it.
Now let's consider following ...
1
vote
3
answers
2k
views
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 ...
5
votes
3
answers
9k
views
FileProviderExtension won't be loaded in macOS 12.2
I am new to macOS development.
I am trying to develop macOS FileProvider extension, and everything was fine until I updated my macOS from 11 to 12.2.
After updating OS, FileProvider extension won't ...
1
vote
0
answers
223
views
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 ->...
1
vote
0
answers
863
views
File Provider API on macOS: How to initialize?
I am trying to build a macOS application from scratch that makes use of the new File Provider API shipped with macOS Big Sur. Luckily, the latest version of Xcode, version 12.5 beta 3, comes with a ...
7
votes
2
answers
2k
views
How to add a File Provider to a MacOS Swift app?
On iOS, there is the File Provider API to create "virtual folders" (folders where the content is provided by an app). How could I do something similar on MacOS? If you wonder why I would ...
3
votes
0
answers
2k
views
Cannot launch new FileProvider extension on macOS 10.15
I am trying to get the File Provider extension to work on macOS 10.15 Beta 7 (19A546d) with Xcode 11 Beta (11M392r) so far did not manage to get it to launch with a sample project. The documentation ...
0
votes
0
answers
286
views
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"
2
votes
1
answer
1k
views
How to display download progress with FileProviderExtension on iOS
I've got an App that implements all the bells and whistles of the FileProviderExtension. Now the question arises what is required to display download/upload progress in the Files app?
Out there is a ...
1
vote
1
answer
5k
views
How to host Angular application with Kestrel
I am trying to deploy an Angular 7 application with .NET Core using Kestrel using the FileProvider extension.
I have created the angular app , i have ng build it and i copied the files inside dist ....
3
votes
2
answers
2k
views
Importing files in iOS : UIDocumentPicker vs UIDocumentBrowser
As per the documentation, both UIDocumentPickerViewController and UIDocumentBrowserViewController can be used for importing documents outside an apps sandbox.
For selecting & importing a document ...
5
votes
1
answer
1k
views
Open Microsoft Office document directly from my own iOS app for in-place editing
I want to be able to edit in-place Office files hosted on my own server. By in-place I mean to open the file in Office, edit it, and get the changes sent back to my app/server directly.
I have ...
2
votes
1
answer
1k
views
iOS 11 File Provider - The working set is never enumerated
I'm currently working on the iOS 11 File Provider extension to enumerate files stored remotely by our service.
So far I've been able to browse through my cached database of Files, as well as an cloud ...
3
votes
1
answer
536
views
NSFileProvider importDocument provides fileURL of empty file when saving new document from MSOffice apps
I'm trying to create a new document in Word.app and save to my app via FileProvider extension. My implementation of appropriate method is:
override func importDocument(at fileURL: URL,
...
0
votes
1
answer
2k
views
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=...
0
votes
1
answer
1k
views
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, ...