---
title: PHPhotosErrorRelinquishingLibraryBundleToWriter
framework: Photos
role: symbol
role_heading: Global Variable
platforms: [iOS 13.0+, iPadOS 13.0+, Mac Catalyst 13.0+, macOS 10.15+, tvOS 13.0+, visionOS 1.0+]
path: photos/phphotoserrorrelinquishinglibrarybundletowriter
---

# PHPhotosErrorRelinquishingLibraryBundleToWriter

The photo library is unavailable because the user moved, renamed, or deleted the system photo library.

## Declaration

```swift
var PHPhotosErrorRelinquishingLibraryBundleToWriter: Int { get }
```

## See Also

### Error Codes

- [invalid](phphotoserror-swift.struct/invalid.md)
- [PHPhotosErrorInvalid](phphotoserrorinvalid.md)
- [PHPhotosErrorLibraryVolumeOffline](phphotoserrorlibraryvolumeoffline.md)
- [PHPhotosErrorSwitchingSystemPhotoLibrary](phphotoserrorswitchingsystemphotolibrary.md)
- [PHPhotosErrorUserCancelled](phphotoserrorusercancelled.md)
