Copy link to clipboard
Copied
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)
Copy link to clipboard
Copied
Lets me see your manifest file.
Copy link to clipboard
Copied
<?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>
Copy link to clipboard
Copied
I also have the same question
Copy link to clipboard
Copied
It still compiles the IPA.. however my IPA runs like crap in iOS6. Runs great on iOS5.1 .. what's going on here ?
Copy link to clipboard
Copied
Which iPad(s) are you running (1, 2, or 3) ?
Here's what I've tried:
Case 1:
app_compiled_with_iOS_SDK_5 on iPad_2_with_iOS_5
app_compiled_with_iOS_SDK_5 on iPad_2_with_iOS_6
* running side by side behaved about the same speed, no visual difference noticed
Case 2
app_compiled_with_iOS_SDK_5 on iPad_2_with_iOS_5
app_compiled_with_iOS_SDK_6 on iPad_2_with_iOS_6
* Also, running side by side same as above no visual difference between apps.
Case 3
app_compiled_with_iOS_SDK_6 on iPad_2_with_iOS_5
app_compiled_with_iOS_SDK_5 on iPad_2_with_iOS_6
* Not really a valid test case but still ran the same as above.
Something to keep in mind the app doesn't rely on Flex framework very much. It's mostly straight up AS3 code. Maybe that could be part of the reason?
Copy link to clipboard
Copied
I'm seeing the same issue here in AIR 3.4. Does anyone know if the beta has addressed this?
thx
Copy link to clipboard
Copied
As I said in my previous post, you should see the IPA getting created, you can ignore the error.
This error is observed only with platformSDK. With 3.5 beta you will not have to use platformSDK for iOS 6 and below as it has the iOS 6 SDK captive in it.
Thanks
-Pahup
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
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.