Skip to content

Instantly share code, notes, and snippets.

View janten's full-sized avatar

Jan-Gerd Tenberge janten

View GitHub Profile
@janten
janten / increase-build-number.sh
Last active October 13, 2023 08:45 — forked from sekati/xcode-build-bump.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"
@janten
janten / .gitignore
Last active December 21, 2015 23:39 — forked from adamgit/.gitignore
Default git ignore file for new Xcode projects
#########################
# .gitignore file for Xcode4 / OS X Source projects
#
# Version 2.0
# For latest version, see: http://stackoverflow.com/questions/49478/git-ignore-file-for-xcode-projects
#
# 2013 updates:
# - fixed the broken "save personal Schemes"
#
# NB: if you are storing "built" products, this WILL NOT WORK,
@janten
janten / .gitignore
Created September 6, 2013 13:04 — forked from kogakure/.gitignore
*.aux
*.glo
*.idx
*.log
*.toc
*.ist
*.acn
*.acr
*.alg
*.bbl
@janten
janten / .gitignore
Last active December 22, 2015 11:09
For Xcode, Visual Studio, SVN, Windows, and LaTeX
###
### LaTeX
###
*.aux
*.glo
*.idx
*.log
*.toc
*.ist
*.acn