---
title: "Discussion on \"error [PHPhotosErrorDomain] -1: The operation couldn’t be completed. (PHPhotosErrorDomain error -1.)\" | Hashnode"
description: "Discussion on \"error [PHPhotosErrorDomain] -1: The operation couldn’t be completed. (PHPhotosErrorDomain error -1.)\". If you're seeing PHPhotosErrorDomain error -1 after attempting to add an image to Simulator via xcrun simctl addmedia <simulatorID> image.jpeg it might be because the image.jpeg is in a folder that is synced to your iCloud Drive.\nJust copy the file t..."
url: "https://hashnode.com/posts/error-phphotoserrordomain-1-the-operation-couldnt-be-completed-phphotoserrordomain-error-1/64de50b0ca06d9704d4c90f8"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [error \[PHPhotosErrorDomain\] -1: The operation couldn’t be completed. (PHPhotosErrorDomain error -1.)](https://articles.danielkasaj.com/error-phphotoserrordomain-1-the-operation-couldnt-be-completed-phphotoserrordomain-error-1?utm_source=hashnode&utm_medium=feed)

If you're seeing PHPhotosErrorDomain error -1 after attempting to add an image to Simulator via xcrun simctl addmedia <simulatorID> image.jpeg it might be because the image.jpeg is in a folder that is synced to your iCloud Drive. Just copy the file t...

Aug 17, 2023 · 1 min read · articles.danielkasaj.com  
Read the article

-   [#xcode](https://hashnode.com/tag/xcode)
-   [#simulator](https://hashnode.com/tag/simulator)

## Written by

[Daniel Kašaj](https://hashnode.com/@DanielKasaj)

@DanielKasaj

  
[View profile](https://hashnode.com/@DanielKasaj)

I develop iOS and macOS apps

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
