Skip to content

Instantly share code, notes, and snippets.

@johnlindquist
Created March 21, 2011 22:21
Show Gist options
  • Save johnlindquist/880348 to your computer and use it in GitHub Desktop.
Save johnlindquist/880348 to your computer and use it in GitHub Desktop.
<target name="package-for-iPhone" depends="build-iPhone"> <!--Build your .swf before packinging for iPhone-->
<exec executable="${IPHONE_PACKAGER}"> <!--Path to ADT-->
<arg line="-package -target '${TARGET}'" /> <!--e.g. ipa-ad-hoc-->
<arg line="-provisioning-profile '${MOBILE_PROVISION}'" />
<arg line="-storetype pkcs12" />
<arg line="-keystore '${CERT}'" />
<arg line="-storepass '${CERT_PASSWORD}'" />
<arg line="'${APP_NAME}.ipa'" />
<arg line="'${IPAD_DESCRIPTOR}'" />
<arg line="'${DEPLOY_DIR}/${APP_NAME}.swf'" />
<arg line="'${BUILD_DIR}/SplashScreen.png'" />
<arg line="'${BUILD_DIR}/Icon.png'" />
</exec>
</target>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment