iPhone does not get detected on older MacBook Pro
I've had the same problem before, and the following steps solved it for me:


Open iTunes
Plug the phone into the computer, and unlock the phone (Either with TouchID or Passcode Unlock)
A notification should popup on your phone saying "Trust This Computer?", click "Trust"
And finally, in iTunes and after a couple of seconds it should show up