iphonemacosmountlibimobiledeviceosxfuse

libimobiledevice ideviceimagemounter iPhone example


I've scoured and cannot find an example of this.

The question is how to bundle libimobiledevice into a macOS app and access iPhone photos.

I found this answer using osxFuse's CLI but I don't want to try to bundle Brew packages in my app and then run commands to try to mount: https://superuser.com/a/1135668/528533


Solution

  • I was able to workaround by bundling ifuse as an executable and calling it when IOKit detected an iPhone attached: https://stackoverflow.com/a/41279799/1762493