iPhone 7 not recognised by iTunes
I bought a 2nd hand iPhone 7 recently, and am trying to connect it to my Mac (Mid 2010 Mac Mini running MacOS 10.13.6 and iTunes 12.8.2.3) to put some music onto it, but it is not being recognised in iTunes or Finder. I have checked the USB tab of the System Information window, and the iPhone is showing up there.
iPhone 7, iOS 13