Skip to main content
Inspiring
September 17, 2012
Answered

SDK3.4 Error packaging the app [Fatal Error] :1:1: Content is not allowed in prolog

  • September 17, 2012
  • 2 replies
  • 1317 views

I am getting this error when I package the app with the command line sdk3.4.

I know this is an xml parsing error from the descriptor and the InfoAdditions section but I don't know really how to solve it.

Someone ?

        [exec] [Fatal Error] :1:1: Content is not allowed in prolog.

        [exec] java.io.IOException: PLIST generation failed due to SAX error:org.xml.sax.SAXParseException: Content is not allowed in prolog.

        [exec]           at com.adobe.air.Plist.newFromString(Plist.java:351)

        [exec]           at com.adobe.air.Plist.newFromFile(Plist.java:325)

        [exec]           at com.adobe.air.ipa.IPAOutputStream.setSDKVersion(IPAOutputStream.java:1067)

        [exec]           at com.adobe.air.ipa.IPAOutputStream.setPlatformSDKLocation(IPAOutputStream.java:969)

        [exec]           at com.adobe.air.ipa.IPAPackager.setDeviceSDKDirectory(IPAPackager.java:187)

        [exec]           at com.adobe.air.ADT.parseFileAndPathArguments(ADT.java:1423)

        [exec]           at com.adobe.air.ADT.parseDescriptorAndFileset(ADT.java:1474)

        [exec]           at com.adobe.air.ADT.parseInput(ADT.java:929)

        [exec]           at com.adobe.air.ADT.parsePackage(ADT.java:672)

        [exec]           at com.adobe.air.ADT.parseArgsAndGo(ADT.java:570)

        [exec]           at com.adobe.air.ADT.run(ADT.java:419)

        [exec]           at com.adobe.air.ADT.main(ADT.java:469)

This topic has been closed for replies.
Correct answer vabhatia

We @Adobe are aware of this issue and are currently investigating this. However, this issue is non blocking as the ipa does gets packaged despite this error and runs fine!

2 replies

vabhatiaCorrect answer
Adobe Employee
September 17, 2012

We @Adobe are aware of this issue and are currently investigating this. However, this issue is non blocking as the ipa does gets packaged despite this error and runs fine!

Inspiring
September 17, 2012

Hi,

Thanks for the answer.

I have also realized that the ipa was packaged correctly, but I needed to know I have  not doing something wrong ;-). Thanks anyway.