File Provider Extension Testing Mode -2014 Error
Issue
I'm developing a macOS File Provider Extension and encountering a -2014 (Extension not registered) error when using Testing Mode only.
Environment
- macOS: 13.0+
- Xcode: Latest version
- Developer Account: Paid Developer Account
- Extension Type:
NSFileProviderReplicatedExtension
Current Status
App ID Configuration
- App ID:
kr.it.flux.FluxDrive2.FileProvider - Capabilities:
- ✅
com.apple.developer.fileprovider.testing-mode(enabled) - ❌ General
com.apple.developer.fileprovider(not visible)
- ✅
Extension Configuration
NSExtensionPointIdentifier:com.apple.fileproviderNSExtensionPrincipalClass:FluxDrive2FileProvider.FileProviderExtension- Code Signing: Valid (Team Identifier verified)
- Info.plist: Valid
Error Message
Error Domain=NSFileProviderErrorDomain Code=-2014
The operation couldn't be completed. (NSFileProviderErrorDomain error -2014.)
Underlying error:
Error Domain=NSFileProviderErrorDomain Code=-2001
Extension cannot be used
Attempted Solutions
- ✅ Verified and corrected Extension Info.plist
- ✅ Verified Extension code signing
- ✅ Added App Group (
group.kr.it.flux.FluxDrive2) - ✅ Clean Build and rebuild
- ✅ Verified installation in
/Applications - ❌ Attempted to enable Extension in System Settings (Testing Mode doesn't appear)
Observations
- Extension is not actually loaded (
FileProviderExtension.init()is never called) NSFileProviderManager.add(domain)immediately returns-2014error- Extension file is built correctly and included in the app bundle
Questions
-
Shouldn't Testing Mode allow testing of File Provider Extension? Why is the
-2014error occurring? -
The general
com.apple.developer.fileprovidercapability is not visible in Developer Portal. How can I enable it? -
Is it normal for Extension not to be registered in the system when using Testing Mode, or are additional settings required?
-
Is the general File Provider capability mandatory for App Store submission?
Additional Information
- Extension code correctly implements
NSFileProviderReplicatedExtensionprotocol - All required methods (
item,enumerator,fetchContents, etc.) are implemented - Network permission (
com.apple.security.network.client) is configured
Any help would be greatly appreciated!