I'm developing a macOS File Provider Extension and encountering a `-2014` (Extension not registered) error when using Testing Mode only.

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.fileprovider
  • NSExtensionPrincipalClass: 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

  1. ✅ Verified and corrected Extension Info.plist
  2. ✅ Verified Extension code signing
  3. ✅ Added App Group (group.kr.it.flux.FluxDrive2)
  4. ✅ Clean Build and rebuild
  5. ✅ Verified installation in /Applications
  6. ❌ 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 -2014 error
  • Extension file is built correctly and included in the app bundle

Questions

  1. Shouldn't Testing Mode allow testing of File Provider Extension? Why is the -2014 error occurring?

  2. The general com.apple.developer.fileprovider capability is not visible in Developer Portal. How can I enable it?

  3. Is it normal for Extension not to be registered in the system when using Testing Mode, or are additional settings required?

  4. Is the general File Provider capability mandatory for App Store submission?

Additional Information

  • Extension code correctly implements NSFileProviderReplicatedExtension protocol
  • All required methods (item, enumerator, fetchContents, etc.) are implemented
  • Network permission (com.apple.security.network.client) is configured

Any help would be greatly appreciated!

Answered by DTS Engineer in 871632022

Let's follow up this question with your other post here.

Best,
——
Ziqiao Chen
 Worldwide Developer Relations.

Let's follow up this question with your other post here.

Best,
——
Ziqiao Chen
 Worldwide Developer Relations.

I'm developing a macOS File Provider Extension and encountering a `-2014` (Extension not registered) error when using Testing Mode only.
 
 
Q