Something you might try fix the failure in importing images from an iPhone via USB:
Make sure that your computer has the latest possible version of macOS (or the latest version of iTunes in Mojave and earlier). Sometimes macOS will prompt for a minor related update needed for mobile device connections so let it do it.
Restart (or power OFF for 2 minutes) both Mac and iPhone (maybe also force close all iPhone apps before doing so).
Clean the iPhone Lightning/USB-C port from pocket lint.
Put the iPhone in Airplane mode before plugging in the USB cable (maybe also turn off Bluetooth, Wi-Fi, Hotspot).
Import with /Application/Image Capture.app instead straight to Photos.app. If that does not work, plug in the iPhone, open Image Capture, click the three dots in the top right, and select "No application" when connecting this iPhone, close Image Capture, unplug and re-plug iPhone, and launch Image Capture. If even that does not work, move ~/Library/Preferences/com.apple.imagecapture.plist to the Desktop, (just in case you need it later) reboot, and try again.
Reset iPhone's Network settings.
Change your settings for trusted computers. Settings > General > Transfer or Reset [Device] > Reset > Reset Location & Privacy.
About the 'Trust This Computer' alert message on your iPhone, iPad, or iPod touch - Apple Support
If all else fails, use AirDrop instead USB.
Also:
Remove all 3rd party virus apps (Avast, AVG, Bitdefender, Intego, MacAfee, Norton, ESET NOD32, Trusteer etc) and 3rd party "cleaning", "optimizing", "speed-up" apps (CleanMyMac, MacKeeper etc). They produce only obscure errors and money loss.
p.s. please report back how you got it working.