Revision: 43744
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at March 30, 2011 05:31 by renaun
Initial Code
#!/bin/bash count=`cat counter` echo "COUNT: $count" echo $((count+1)) > counter # Application Name appname=$1 # COMPILE TYPE ( ipa-test | ipa-debug | ipa-app-store | ipa-ad-hoc ) COMPILE_TYPE=$2 # UPDATE APP XML (VERSION) OLD="APP_VERSION" sed "s/$OLD/$count/g" $appname-app.xml > $appname-appV.xml # CONSTANTS USER_WORKSPACE=/Users/user/Documents/workspaces AIR_SDK=$USER_WORKSPACE/FlexSDKs/AIR26_mac_sdk_19120 IPHONE_DEV=$USER_WORKSPACE/iPhoneDev rm -Rf *.ipa # BUILDING startTime=`eval date +%s` $AIR_SDK/bin/adt -version $AIR_SDK/bin/adt -package -target $COMPILE_TYPE -provisioning-profile $IPHONE_DEV/MyDev.mobileprovision -storetype pkcs12 -keystore $IPHONE_DEV/my_cert.p12 -storepass password $appname.ipa $appname-appV.xml $appname.swf Default.png icon29.png icon57.png icon512.png endTime=`eval date +%s` let PTIME=($endTime - $startTime) echo "COMPILE: $PTIME secs" #echo "Opening IPA in iTunes" open $appname.ipa osascript -e 'tell application "iTunes" to update "mydevice"'
Initial URL
http://renaun.com/blog/2011/03/tips-for-ios-air-development/
Initial Description
If you are developing for iOS with AIR and are deleting/removing applications from iTunes/device each time you want to test you will want to read this.
Initial Title
Shell Script for packaging AIR applications for iOS
Initial Tags
actionscript, ios
Initial Language
Bash