ANT build produces not working package with 3.5 AIR SDK
I used AIR SDK 3.1 and have ANT script to compile and package iPad(AdHoc for testing) application. I tried to switch to 3.5 SDK today but when I install *.ipa and launch on iPad it hangs at the spalsh screen.
I tried to make release build using Flash Builder UI and it worked. So the question is has anything changed in terms of packaging/compilation options?
Just in case attached my current ANT script:
<target name="Compilation" depends="Initialization">
<mxmlc file="${main_class}" output="${swf_file}" locale="${LOCALE}" static-rsls="false" accessible="false" configname="airmobile"
optimize="true" actionscript-file-encoding="UTF-8" keep-generated-actionscript="false" static-link-runtime-shared-libraries="true"
debug="${debug_mode}" failonerror="true" fork="true" maxmemory="1024m">
<source-path path-element="${class_path}"/>
<load-config filename="${FLEX_HOME}/frameworks/airmobile-config.xml"/>
<load-config filename="${config_file}"></load-config>
<library-path dir="${lib_path}" includes="*.swc" append="true"/>
</mxmlc>
</target>
<target name="Packaging" depends="Compilation">
<java jar="${ADT}" fork="true" failonerror="true">
<arg value="-package"/>
<arg value="-target"/>
<arg value="ipa-test"/>
<arg value="-provisioning-profile"/>
<arg value="${ios_provisioning}"/>
<arg value="-storetype"/>
<arg value="pkcs12"/>
<arg value="-keystore"/>
<arg value="${ios_keystore}"/>
<arg value="-storepass"/>
<arg value="${ios_pass}"/>
<arg value="${ipa_file}"/>
<arg value="${app_descriptor}"/>
<arg value="${swf_file}"/>
<arg value="-C" />
<arg value="${class_path}"/>
<arg value="assets/icons"/>
<arg value="-C" />
<arg value="${release_path}"/>
<arg value="Default-Portrait.png"/>
</java>
</target>
Thanks
