Copy link to clipboard
Copied
Hello,
I am porting an existing Flex application to the iPad. I am using Flex 4.9.1 with Air 3.4.
Everything works fine on the Air simulator. However when I want to generate the IPA or deploy directly to the iPad, I get the following error :
Error occurred while packaging the application:
[Fatal Error] :1:1: Content is not allowed in prolog.
java.io.IOException: PLIST generation failed due to SAX error:org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog.
at com.adobe.air.Plist.newFromString(Plist.java:351)
at com.adobe.air.Plist.newFromFile(Plist.java:325)
at com.adobe.air.ipa.IPAOutputStream.setSDKVersion(IPAOutputStream.java:1070)
at com.adobe.air.ipa.IPAOutputStream.setPlatformSDKLocation(IPAOutputStream.java:971)
at com.adobe.air.ipa.IPAPackager.setDeviceSDKDirectory(IPAPackager.java:187)
at com.adobe.air.ADT.parseFileAndPathArguments(ADT.java:1423)
at com.adobe.air.ADT.parseDescriptorAndFileset(ADT.java:1474)
at com.adobe.air.ADT.parseInput(ADT.java:929)
at com.adobe.air.ADT.parsePackage(ADT.java:672)
at com.adobe.air.ADT.parseArgsAndGo(ADT.java:570)
at com.adobe.air.ADT.run(ADT.java:419)
at com.adobe.air.ADT.main(ADT.java:469)
However all my xml files seem fine, and I would like to see the full log in order to know where this error come from. I have the feeling that I will find more information if I could see the full log. However I didn't find the way to do this.
I have also tried to replicate the commande line but without success.
Could anyone please help me in this matter ?