Push notification from xcode on build complete using Pushbullet
Download the two scripts in the repo
Give the scripts execute permissions (
chmod a+x script)In Xcode, go to Preferences -> Behaviors.
Under Build -> Start, add
build_time_start.shto RunUnder Build -> Succeeds add
end_time_script.shto RunDownload the PushBullet app (https://www.pushbullet.com/apps)
Create an account
Under my account on the website create access token
Add
export PUSHBULLET_ACCESS_TOKEN="<your_access_token_here>"to your bash profileEnjoy your leisure compile time (https://xkcd.com/303/)
The script sends a notification if the build time was over 10 minutes. You can change this time in the script to suit your needs.