📢 Newsroom Update

Apple’s new MacBook Pro features the incredibly powerful M4 family of chips and ushers in a new era with Apple Intelligence. Learn more >

📢 Newsroom Update

Apple introduces M4 Pro and M4 Max. Learn more >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

XCode causes weird sound glitches

When using XCode sound (playing from Youtube in Safari/Spotify) often skips/buzzes/glitches on both headphones connected via jack or internal speakers.

I don't know whether it is just XCode or combination of apps or something else.

When debugging in XCode it gets worse/is more common.


Is it hardware issue and I should try to use my warranty or is it software issue and I should rather wait until it's patched?


Device: 2020 MacBook Pro 13" (4 ports)

System: macOS Catalina 10.15.5

MacBook Pro 13″, macOS 10.15

Posted on Jul 9, 2020 7:56 AM

Reply
Question marked as Top-ranking reply

Posted on Jul 14, 2020 5:50 AM

Hi, MrKew.


Welcome to the Apple Support Communities. We’re glad you decided to reach out about your audio quality when running Xcode. If we understand correctly, the music is either skipping or you hear a buzzing sound, mostly when you're debugging the app in Xcode.


Is the app running any audio in the simulator? If it is, it's possible the audio from the music is struggling to share the audio output system with Xcode. You may want to reach out to Apple's Developer Support directly for guidance:  


Support - Apple Developer


If it's happening with other intensive programs, you might look at Activity Monitor to see if you can find an app or process that is impacting performance on your Mac.


How to use Activity Monitor on your Mac - Apple Support


If you don't find a resolution in Activity Monitor, and it's happening outside of using Xcode, are you streaming content in YouTube and Spotify? If you are, is it possible it's an internet connection issue? If it sounds like this could be the case, you may find this article helpful:


How to troubleshoot Wi-Fi connectivity - Apple Support


All our best.


2 replies
Question marked as Top-ranking reply

Jul 14, 2020 5:50 AM in response to MrKew

Hi, MrKew.


Welcome to the Apple Support Communities. We’re glad you decided to reach out about your audio quality when running Xcode. If we understand correctly, the music is either skipping or you hear a buzzing sound, mostly when you're debugging the app in Xcode.


Is the app running any audio in the simulator? If it is, it's possible the audio from the music is struggling to share the audio output system with Xcode. You may want to reach out to Apple's Developer Support directly for guidance:  


Support - Apple Developer


If it's happening with other intensive programs, you might look at Activity Monitor to see if you can find an app or process that is impacting performance on your Mac.


How to use Activity Monitor on your Mac - Apple Support


If you don't find a resolution in Activity Monitor, and it's happening outside of using Xcode, are you streaming content in YouTube and Spotify? If you are, is it possible it's an internet connection issue? If it sounds like this could be the case, you may find this article helpful:


How to troubleshoot Wi-Fi connectivity - Apple Support


All our best.


XCode causes weird sound glitches

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.