The subject says it all...
I simply want Xcode to make a beep or any other noise once the compilation process is over.
How can I do that?
In Xcode 4, you can simply open the "Behaviors" tab in Preferences, select the Build Succeeds event and check the "Play sound" or "Speak announcement" option. Same goes for failed builds and other important events:
In your Project menu select "New Build Phase" and then select "New Run Script Build Phase".
You can then add shell commands to that script, i.e.
/usr/bin/say "Build completed"
Better yet, read http://developer.apple.com/documentation/DeveloperTools/Reference/XcodeUserDefaultRef/100-Xcode_User_Defaults/chapter_2_section_7.html
defaults write com.apple.Xcode PBXBuildSuccessSound /path/to/sound.aiff
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With