<!--
{
  "availability" : [
    "iOS: 15.4.0 -",
    "iPadOS: 15.4.0 -",
    "macCatalyst: 15.4.0 -",
    "macOS: 12.3.0 -",
    "tvOS: 15.4.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "PhotoKit",
  "identifier" : "/documentation/Photos/PHPhotosError-swift.struct/libraryInFileProviderSyncRoot",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "Photos"
    ],
    "preciseIdentifier" : "s:SC13PHPhotosErrorLeV29libraryInFileProviderSyncRootSoAAVvpZ"
  },
  "title" : "libraryInFileProviderSyncRoot"
}
-->

# libraryInFileProviderSyncRoot

An error that indicates the Photos library bundle is in a file provider sync directory, and the framework doesn’t support it.

```
static var libraryInFileProviderSyncRoot: PHPhotosError.Code { get }
```

---

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)