When you connect your iPhone, if you don’t have enough storage you’ll get this message:
Steps to solve it
Calculate storage iPhone to Mac
Make sure the hard drive is formatted for Mac. Info is here