There aren't any cables that have a built-in DAC. If you use a cable to connect the iPhone to the Mac you will be using the DAC inside the iPhone to convert the music from digital to analog. That will work but is not ideal for the best possible audio quality.
The most common solution is to use the iPhone running the application for your streaming service to send the signal over your WiFi network to a streamer of some sort which either contains an internal DAC or routes the signal to an external DAC and then on to the Mac through analog RCA cables.
There are many ways to do that but just as a relatively inexpensive example you could get a Bluesound Node streamer and use its internal DAC connected to the Mac or use it just as a streamer connected to a higher quality DAC on the way to the Mac.