Question: how to play music from your iphone to mac?
Answer: Connect your iPhone to your computer using the USB cable.
On your Mac, open Audio Midi Setup. You'll find it in Applications > Utilities.
If you don't see your iPhone listed in the left-hand panel, go to Window > Show iOS Device Browser.
Locate your iPhone in the list of devices and highlight it.
Click on Enable.