Sometimes you may found Xcode.app do not exist in the notification auth list in the system preferences,
even you make sure it does exist in the ~/Library/Preferences/com.apple.ncprefs.plist
file,
and re-installed the Xcode.app, it still cannot get the notification auth,
you may need this script to get the Build Succeeded
notification from working again.
- ๐ Trigger an AppleScript based notification when build succeeded, build failed, and start running
(other opportunities may also be available, based on the
Behavior
opportunities in Xcode preferences). - โฑ This script also contains the timing feature, recording the time interval between
Build Started
andBuild Succeeded
orBuild Failed
. - ๐จโ๐ฉโ๐งโ๐ฆ Multi Xcodes supported.
- Download the
XcodeNotifiacion.sh
into your local directory where you like. - Config
Build - Starts
,Build - Succeeds
,Build - Fails
(Running - Starts
is optional) in theXcode - preferences - Behaviors
, in theRun
field, make sure these opportunities will execute theXcodeNotification.sh
file directly or called in shell-chains.