diff --git a/Examples/xx-messenger/bump-build-number.sh b/Examples/xx-messenger/bump-build-number.sh
new file mode 100755
index 0000000000000000000000000000000000000000..f95dceaca1c95063eed05e6aa32388216376a0d1
--- /dev/null
+++ b/Examples/xx-messenger/bump-build-number.sh
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+script_dir=$(dirname $(realpath $0))
+project_dir="$script_dir/Project"
+repo_dir="$script_dir/../../"
+
+if [ -n "$(git -C $repo_dir status --porcelain)" ]; then 
+  echo "Repository has uncommitted changes!"
+  exit 1
+fi
+
+cd $project_dir
+xcrun agvtool next-version
+build_number=$(xcrun agvtool what-version -terse)
+
+cd $repo_dir
+git commit -a -m "Bump xx-messenger example app build number to $build_number"