For me, this was fixed (from Apple Support):
Plug in iPhone (and, sure, dismiss the pop-ups).
Open up the Image Capture application.
In the … (circle w/ dots) to left of trash can icon.
Click on the dots, and, in the drop-down for ‘Connecting this iPhone opens:’
select ‘Other’.
In the ‘Finder’-like file navigator,
Use the left panel to select the Applications folder,
and then, in the right panel, select Image Capture.
Then, in the lower right of the navigator window…
click the ‘Choose’ button.
Close the Image Capture application (CMD-Q)
Try plugging the phone in again. It should launch Image Capture, and
put up thumbnails of your photos.
If you don’t want that to happen…
Try re-doing the drop down for what to do upon connection…
and select ‘no application’
Oddly: that’s probably where it was set when you started this cleanup!
For me… nothing happens on plug in now! Just the way it was supposed to be!
And the pop-ups… they’re gone, too!
... at least... that all worked for me. on Big Sur 11.0.1 // iPhone6 12.4.9