受试者说出了一切。
我只想让Xcode在编译过程结束后发出蜂鸣声或任何其他噪音。
我该怎么做呢?
发布于 2009-02-05 11:04:23
在你的项目菜单中选择“新的构建阶段”,然后选择“新的运行脚本构建阶段”。
然后,您可以将shell命令添加到该脚本,即
/usr/bin/say "Build completed"发布于 2012-10-07 00:02:13
在Xcode4中,您只需打开Preferences中的"Behaviors“选项卡,选择Build Succeeds事件,然后选中"Play sound”或"Speak“选项即可。失败的构建和其他重要事件也是如此:

发布于 2009-02-06 05:04:28
更好的是,阅读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.aiffhttps://stackoverflow.com/questions/515372
复制相似问题