I want to implement quota feature to my file provider extension. I am able to keep track of materialized files total size. (Content download and edit operations)
However I cannot detect file eviction operation (User right click to file and select "Remove Download"). Is there anyway to detect this action
Or any suggestion to keep track of materialized files total size?
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
I was able to add new domain with 'NSFileProviderManager.add' function in Xcode past 2 months. Yesterday I created .pkg file (installer file) for distribution with 'pkgbuild' and 'productbuild' commands in terminal.
I successfully install application and test it then uninstall it. However after this, In Xcode I cannot add new domain anymore. I keep getting "Error Domain=NSFileProviderErrorDomain Code=-2001 "No valid file provider found with identifier ‘’."
Command that used to create .pkg file
pkgbuild --root "path" --scripts "path" --identifier "same bundle identifier with app" --version 1.0 --install-location /Applications "newpkg.pkg"
productbuild --synthesize --package "newpkg.pkg" Distribution.xml
productbuild --distribution Distribution.xml --package-path "newpath.pkg" "newpathrelease.pkg"
NOTE: When app is installed (But not running). I am able to add new domain in Xcode. After I uninstall app, I start to get same error again
NOTE: I uninstall app by move it to Trash from Applications directory in finder
Any suggestion about add new domain in Xcode during development? Or How to fix 'No valid file provider found with identifier' error
Hi all, i am trying to implement File Provider Extension. I have some questions about conflict resolution
Same file is changed at user local and remote storage before it's synced. File has 2 different version at user local and remote storage. After trigger a new enumeration by calling signalEnumerator for the extension, I want to move user's local version to new conflicted copy (with new itemIdentifier: NSFileProviderItemIdentifier) and import remote storage version to user local (with current itemIdentifier: NSFileProviderItemIdentifier). Then users local version should uploaded to remote storage server with new conflicted copy name
Any suggestion about this scenario? Or any documentation about conflict resolution
Hi all, i am trying to implement File Provider Extension. I have some scenarios that I can not figure out,
User delete a file on local. 'deleteItem' callback is triggered. I send delete request to remote server. Remove server failed to apply deletion (for some reason deletion failed, blocked). I call 'completionHandler' with necessary error but here is the problem. File is removed in user local but exit in remote server. After some time 'deleteItem' callback is triggered multiple times for this file. I need to put same file in user local (rollback deletion) and stop triggered callbacks.
I have a folder named "New folder". This folder is dataless (its sub items is not enumerated yet). User add a file named "a.txt" to this folder on remote server. I detect that addition. When I apply that addition with 'NSFileProviderChangeObserver' observers 'didUpdate' method then enumerate this directory "a.txt" is duplicated (a 2.txt is created). Is there any way to control folder named "New folder" is dataless (its sub items is not enumerated) so that I can skip file addition to prevent duplication.
Any suggestion about above scenarios
Hi all, i am trying to implement File Provider Extension. I was able to enumerate remote storage directories to local via 'enumerateItems' function of NSFileProviderEnumerator.
I can apply remote storage changes like newly created files/folders, move, rename and delete operations and successfully apply them to local with 'NSFileProviderChangeObserver' class 'didUpdate' and 'didDeleteItems' functions.
However when file content is updated on remote server;
If file content is not fetched(file is Dataless), i can not apply this change to local. When i call 'NSFileProviderChangeObserver' class 'didUpdate' function for changed file, only DateModified attribute is updated on finder, file size is not changed to new size.
If file content has been fetched, When i call 'NSFileProviderChangeObserver' class 'didUpdate' function nothing is changed, file content stay depreciated
Any suggestion how to fix it?
Hello,
I have an iOS mobile application. I want to wrap this application using an app wrapping tool and distribute it in Microsoft Intune MDM. (I want to perform the process in the link below.)
https://learn.microsoft.com/en-us/mem/intune/developer/app-wrapper-prepare-ios#steps-to-create-an-apple-signing-certificate
In the "Steps to create an Apple signing certificate" section of this link, the application is signed as In-House. However, I cannot see the In-House option in my Apple Developer account. I only see the options in the image below.
My developer account type is "organization." Why can't I see the In-House option in Distribution? What should I do for this?