---
title: File Provider updates
framework: updates
role: article
role_heading: Article
path: updates/fileprovider
---

# File Provider updates

Learn about important changes to File Provider.

## Overview

Overview Browse notable changes in File Provider. June 2024 Offer people the ability to sync their Desktop and Documents folders with your File Provider app. Check whether a person opts in to sync these folders using replicatedKnownFolders. Sync the folders using claimKnownFolders(_:localizedReason:completionHandler:), or stop syncing using releaseKnownFolders(_:localizedReason:completionHandler:) if the person opts out. Provide the system with information about which folders you support syncing through supportedKnownFolders, and share the locations of the folders by adopting NSFileProviderKnownFolderSupporting. Cache files on external disks. Confirm whether a volume is eligible for storing a domain using checkDomainsCanBeStoredOnVolume(at:), and create a domain on that volume using the new init(displayName:userInfo:volumeURL:) initializer. Store data about the current sync state using stateDirectoryURL(), and determine whether to connect to a domain created on another device using shouldConnectExternalDomain(completionHandler:). Install the File Provider logging profile to log helpful information for debugging and troubleshooting. Download the .mobileconfig file at Profiles and Logs. March 2024 Improve error handling with new underlying error codes for NSFileProviderError.Code.providerNotFound. NSFileProviderError.Code.providerDomainTemporarilyUnavailable indicates that the system is unable to service requests for this domain temporarily, and you can try again later. NSFileProviderError.Code.providerDomainNotFound indicates that there isn’t a registered domain for the corresponding identifier. NSFileProviderError.Code.applicationExtensionNotFound indicates that there isn’t an app extension within the app bundle.

## See Also

### Technology and frameworks

- [Accelerate updates](updates/accelerate.md)
- [Accessibility updates](updates/accessibility.md)
- [ActivityKit updates](updates/activitykit.md)
- [AdAttributionKit Updates](updates/adattributionkit.md)
- [App Clips updates](updates/appclips.md)
- [App Intents updates](updates/appintents.md)
- [AppKit updates](updates/appkit.md)
- [Apple Intelligence updates](updates/apple-intelligence.md)
- [AppleMapsServerAPI Updates](updates/applemapsserverapi.md)
- [Apple Pencil updates](updates/applepencil.md)
- [ARKit updates](updates/arkit.md)
- [Audio Toolbox updates](updates/audiotoolbox.md)
- [AuthenticationServices updates](updates/authenticationservices.md)
- [AVFAudio updates](updates/avfaudio.md)
- [AVFoundation updates](updates/avfoundation.md)
