Skip to content

Instantly share code, notes, and snippets.

View ipaboy's full-sized avatar
🏠
Working from home

Maksim Bryzinski ipaboy

🏠
Working from home
  • ScienceSoft Inc.
  • Minsk, Belarus
View GitHub Profile
@ipaboy
ipaboy / increase-build-number.sh
Created April 14, 2018 08:27 — forked from janten/increase-build-number.sh
Bash script for Xcode. Updates build number automatically and saves some useful information (e.g. current git commit) about the build environment to Info.plist.
#!/bin/bash
# increase-build-number.sh
# @desc Auto-increment the build number every time the project is run and add build information to plist
# @usage
# 1. Select: your Target in Xcode
# 2. Select: Build Phases Tab
# 3. Select: Add Build Phase -> Add Run Script
# 4. Paste code below in to new "Run Script" section
# 5. Drag the "Run Script" below "Link Binaries With Libraries"