Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
<target name="-compile.for.ios" description="Compiling swf for ios">
<java jar="${asc2.compiler}" failonerror="true" fork="true">
<arg value="-load-config+=${air.config}"/>
<arg value="-load-config+=${compile.config}"/>
<arg value="-debug=${debug.build}"/>
<arg value="+configname=airmobile"/>
<arg value="-swf-version=29"/>
<arg value="-define=CONFIG::flashplayer,false"/>
<arg value="-define=CONFIG::android,false"/>
<arg value="-define=CONFIG::ios,true"/>
</java>
<move file="src/com/illuzor/antbuilddemo/Main.swf" tofile="bin/AntBuildDemo.swf"/>
</target>
<target name="-make.ios.ipa" description="Making ipa for ios">
<echo message="Starting build ios ipa"/>
<java jar="${adt}" failonerror="true" fork="true">
<arg value="-package"/>
<arg value="-target"/>
<arg value="${ios.build.type}"/>
<arg value="-storetype"/>
<arg value="pkcs12"/>
<arg value="-keystore"/>
<arg value="${ios.cert}"/>
<arg value="-storepass"/>
<arg value="${ios.cert.pass}"/>
<arg value="-provisioning-profile"/>
<arg value="${ios.provision}"/>
<arg value="${release.folder}/ios_fasttest.apk"/>
<arg value="application.xml"/>
<arg value="-C"/>
<arg value="bin"/>
<arg value="."/>
<arg value="-C"/>
<arg value="icons/ios"/>
<arg value="."/>
</java>
</target>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment