This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
WORKSPACE = Artsy.xcworkspace | |
SCHEME = Artsy | |
CONFIGURATION = Beta | |
APP_PLIST = Artsy/App/Art.sy-Info.plist | |
BUNDLE_ID = net.artsy.artsy.beta | |
PLIST_BUDDY = /usr/libexec/PlistBuddy | |
BUNDLE_VERSION = $(shell $(PLIST_BUDDY) -c "Print CFBundleVersion" $(APP_PLIST)) | |
GIT_COMMIT = $(shell git log -n1 --format='%h') | |
ALPHA_VERSION = $(BUNDLE_VERSION)-$(BUILD_NUMBER)-$(GIT_COMMIT) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
xc(){ | |
xcode_proj=`find . -name "*.xc*" -d 1 | sort -r | head -1` | |
if [ `echo -n $xcode_proj | wc -m` == 0 ] | |
then | |
echo "No xcworkspace/xcodeproj file found in the current directory." | |
else | |
echo "Found $xcode_proj" | |
open "$xcode_proj" | |
fi |