Skip to main content
Inspiring
September 24, 2012
Question

Compile iOS6 [FATAL ERROR]

  • September 24, 2012
  • 9 replies
  • 3371 views

I'm trying to compile via the command line and getting errors.

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

java.io.IOException: PLIST generation failed due to SAX error:org.xml.sax.SAXParseException: 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:1036)

          at com.adobe.air.ipa.IPAOutputStream.setPlatformSDKLocation(IPAOutputStream.java:955)

          at com.adobe.air.ipa.IPAPackager.setDeviceSDKDirectory(IPAPackager.java:182)

          at com.adobe.air.ADT.parseFileAndPathArguments(ADT.java:1397)

          at com.adobe.air.ADT.parseDescriptorAndFileset(ADT.java:1448)

          at com.adobe.air.ADT.parseInput(ADT.java:923)

          at com.adobe.air.ADT.parsePackage(ADT.java:666)

          at com.adobe.air.ADT.parseArgsAndGo(ADT.java:566)

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

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

This topic has been closed for replies.

9 replies

Pahup
Adobe Employee
Adobe Employee
September 25, 2012

Hi Applauz78,

Yes, "Content is not allowed in prolog." is a known issue with platformSDK option pointing to iOS SDK 6.0, we're working on this.

However your IPA should succesfully get generated IPA even after the error.

-Thanks for reporting.

Pahup

Participant
November 29, 2012

there is something weird here tho, I have no problem with my own provision file, it compiles just fine for ios 6, using another provision provided to me by the publisher gives me this error and the ipa is NOT generated.

Edit: Downloaded and used the new air 3.5 SDK, it works just fine now. Thanks.

Participant
September 25, 2012

Lets me see your manifest file.

Applauz78Author
Inspiring
September 25, 2012

<?xml version="1.0" encoding="utf-8" standalone="yes"?>

<application xmlns="http://ns.adobe.com/air/application/3.4">

    <id>historyapp</id>

    <versionNumber>1.0</versionNumber>

    <filename>interface_test2</filename>

    <description></description>

    <!-- To localize the description, use the following format for the description element.

          <description>

                    <text xml:lang="en">English App description goes here</text>

                    <text xml:lang="fr">French App description goes here</text>

                    <text xml:lang="ja">Japanese App description goes here</text>

          </description>

          -->

    <!-- <name>

        <text>App Title</text>

    </name>

 

          -->

    <!-- To localize the name, use the following format for the name element. -->

    <name>

        <text xml:lang="en">App Title</text>

    </name>

    <copyright></copyright>

    <initialWindow>

        <content>interface_test2.swf</content>

        <systemChrome>standard</systemChrome>

        <transparent>false</transparent>

        <visible>true</visible>

        <fullScreen>false</fullScreen>

        <autoOrients>true</autoOrients>

        <renderMode>gpu</renderMode>

        <aspectRatio>landscape</aspectRatio>

    </initialWindow>

    <customUpdateUI>false</customUpdateUI>

    <allowBrowserInvocation>false</allowBrowserInvocation>

    <icon>

        <image72x72>assets/icon72.png</image72x72>

        <image48x48>assets/icon48.png</image48x48>

    </icon>

    <iPhone>

        <requestedDisplayResolution>high</requestedDisplayResolution>

        <InfoAdditions><![CDATA[<key>UIDeviceFamily</key><array><string>2</string></array><key>UIPrerenderedIcon</key><true/>]]></InfoAdditions>

    </iPhone>

    <supportedLanguages>en</supportedLanguages>

</application>

Participating Frequently
September 25, 2012

I also have the same question