---
title: providerTranslocated
framework: fileprovider
role: symbol
role_heading: Type Property
path: fileprovider/nsfileprovidererror/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.

## Declaration

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

## Discussion

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.

## See Also

### Accessing error codes

- [NSFileProviderError.Code](fileprovider/nsfileprovidererror/code.md)
- [filenameCollision](fileprovider/nsfileprovidererror/filenamecollision.md)
- [insufficientQuota](fileprovider/nsfileprovidererror/insufficientquota.md)
- [noSuchItem](fileprovider/nsfileprovidererror/nosuchitem.md)
- [notAuthenticated](fileprovider/nsfileprovidererror/notauthenticated.md)
- [pageExpired](fileprovider/nsfileprovidererror/pageexpired.md)
- [serverUnreachable](fileprovider/nsfileprovidererror/serverunreachable.md)
- [syncAnchorExpired](fileprovider/nsfileprovidererror/syncanchorexpired.md)
- [directoryNotEmpty](fileprovider/nsfileprovidererror/directorynotempty.md)
- [providerNotFound](fileprovider/nsfileprovidererror/providernotfound.md)
- [olderExtensionVersionRunning](fileprovider/nsfileprovidererror/olderextensionversionrunning.md)
- [newerExtensionVersionFound](fileprovider/nsfileprovidererror/newerextensionversionfound.md)
- [nonEvictable](fileprovider/nsfileprovidererror/nonevictable.md)
- [nonEvictableChildren](fileprovider/nsfileprovidererror/nonevictablechildren.md)
- [unsyncedEdits](fileprovider/nsfileprovidererror/unsyncededits.md)
