<!--
{
  "availability" : [
    "macOS: 11.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "FileProvider",
  "identifier" : "/documentation/FileProvider/NSFileProviderError/providerTranslocated",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "File Provider"
    ],
    "preciseIdentifier" : "s:SC23NSFileProviderErrorCodeLeV20providerTranslocatedSoAAVvpZ"
  },
  "title" : "providerTranslocated"
}
-->

# providerTranslocated

An error indicating the File Provider extension is in a disabled state due to Gatekeeper’s restrictions for apps from outside the App Store.

```
static var providerTranslocated: NSFileProviderError.Code { get }
```

## Discussion

If you’re distributing your app outside the Mac App Store, Gatekeeper translocates recently downloaded apps from a disk image, archive, or the `Downloads` directory to a randomized read-only location in the file system. This translocation prevents the app from accessing code or content using relative paths.

To resolve this error, the user must drag the app to its desired installation location (usually `/Applications`) before launching it.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)