-1

Problem :

  • Background : I am trying to access internal storage and photos using python from iOS real device or simulators & occur failure in a process because you don’t have permission to access
  • Failure reason : "“photos.db” couldn’t be copied because you don’t have permission to access

1 Answer 1

0
  • Working Solution :
    1. Check installed version of "osxphotos"
    2. If not then use pip install osxphotos to install latest version
    3. Create virtual environment locally python3 -m venv test-virtual-env
    4. What I missed was the activation (can be done using source test-virtual-env/bin/activate)and access permission for Photos app

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.