Skip to content

Instantly share code, notes, and snippets.

@naiveal
naiveal / ALBUpdateBundleVersion.py
Created August 2, 2012 08:48 — forked from collindonnell/ALBUpdateBundleVersion.py
Automated Xcode build script to update CFBundleVersion, commit and tag with Git.
#!/usr/bin python
from AppKit import NSMutableDictionary
import os
# Get the name of the current configuration.
configuration = os.environ['CONFIGURATION']
# List of valid configurations where this script should run.
configurations_list = ['Beta', 'App Store']
@naiveal
naiveal / Xcode4TestFlightintegration.sh
Created August 2, 2012 08:44 — forked from incanus/Xcode4TestFlightintegration.sh
Xcode 4 scheme Archive step Post-script for automatic TestFlight build uploading. See the blog post here: http://developmentseed.org/blog/2011/sep/02/automating-development-uploads-testflight-xcode
#!/bin/bash
#
# (Above line comes out when placing in Xcode scheme)
#
API_TOKEN=<TestFlight API token here>
TEAM_TOKEN=<TestFlight team token here>
SIGNING_IDENTITY="iPhone Distribution: Development Seed"
PROVISIONING_PROFILE="${HOME}/Library/MobileDevice/Provisioning Profiles/MapBox Ad Hoc.mobileprovision"
#LOG="/tmp/testflight.log"