Thanks the post here:
https://frameboxxindore.com/linux/how-do-i-transfer-files-from-iphone-to-ubuntu.html
Here are the 4 steps to mount iPhone in Debian/Ubuntu Linux –
Unlock the screen and connect the iPhone (do the ‘Trust this computer’ part). Check dmesg:
dmesg | grep usb. ...Pair the device:
idevicepair pairCreate a mountpoint (e.g. ~/iPhone) and mount the iPhone using ifuse:
mkdir ~/iPhone;ifuse ~/iPhoneDo whatever you need to do then, to unmount:
fusermount -u ~/iPhone
Tested on Ubuntu 22.04 with iPhone X and they’re working.
While, the new iPhone photo format is by default as heic, see another post to convert them into jpg.
Good luck!