Mac connects to iPhone hotspot but no internet
I got the same issue and solved it differently.

In my MacBook, I had the DNS server setup to point to Google's public DNS IP (8.8.8.8 / 8.8.4.4), I simply deleted those registers and left the default. It worked for me, hope it works for you.