For a year now Photos goes berserk when I connect my iPhone to my Macbook. It launches automatically and goes into an infinite loop of "Preparing to import from ...".
Normally I'd be able to stop Photos from auto-launching if I could get ImageCapture to have the focus, but Photos continuously steals the focus and it's not possible to disable auto-launch from ImageCapture.
Luckily, a nice defaults line on the command line will solve this issue, but now Finder goes into an infinite loop of seeing/not seeing the iPhone, whenever the iPhone is connected via Lightning.
How do I stop Finder from auto-launching when I connect (via Lightning) iPhone to macOS?
More importantly, how can I sync or copy iPhone photos to macOS, still via Lightning, from the command line (or any other way than through Photos and ImageCapture)?
Is there, for example, a "target disk mode" for the iPhone?
