MacBook as audio source for iPhone USB compatible speakers
You can output Mac sound via USB by changing the settings in Sound. Connect the USB speaker, then open System Preferences. Select Sound. There are three 'tabs' in this window: Sound Effects, Output, Input. Select Output. You may see your speakers, or perhaps "USB audio CODEC". Choose either one.  Sound will come out of the USB speakers.