Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how can I make xcode create a sound when the build/run fails or crashes

Tags:

xcode

The reason I'm asking this is because sometimes I run the project, and wait for 2-3 minutes, expecting it to run, but then it fails while I've turned away from the screen and waste time.

like image 498
mfaani Avatar asked Jan 27 '26 05:01

mfaani


1 Answers

Xcode is an awesome tool. It allows you to change the behavior of your Xcode.

You could tell it, I want you to make the 'Basso' sound when the Build Fails, or make the 'Tink' sound when Running starts or make the 'Submarine' sound when the Testing Starts/Succeeds/Fails/Generates output...

It's best that you take a look into Xcode >> Preferences >> Behaviors

enter image description here

New Xcode behavior: When Build, Fails...Play Sound: Blow


enter image description here

New Xcode behavior: When Running, Exits Unexpectedly...Play Sound: Bottle


You could also customize other things as well. e.g. when the build Fails, then what should Xcode show, should it show the debugger or not? Should it show the toolbar or not. You really just need to play around with it. For more see here

like image 50
mfaani Avatar answered Jan 30 '26 16:01

mfaani



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!