I am having this issue almost all the time. Use case: Running XCode with a simulator and listening to Spotify. Always when you rerun the project or enable the "Debug view hierarchy" you hear annoying crackle and distortions in the music being played. I guess the reason can be also in my in-app muted videos, but it is still a bug from XCode.
Now playing the music from the iPad :(