Skip to main content
Inspiring
August 8, 2011
Question

Flash CS5 crashes on OSX Lion while compiling !

  • August 8, 2011
  • 6 replies
  • 5312 views

Hi,

I installed OSX Lion. Suddenly, my Flash CS5 is unable to compile an iOS app with packager.

Flash just crashes (closes automatically) without any readible error.

Anyone experiencing this problem?

I really hope that there is a solution for this, because I can't update my apps this way!

Thanx!

This topic has been closed for replies.

6 replies

Inspiring
August 17, 2011

I found a way to get it working from within the Flash IDE (no command-line hell for me! Yeah!) ;-)

(it turned out that I DID have a multiple line of xmlns="http://ns.adobe.com/air/application/2.0" in my descriptor-file actually, and that's the reason flash gives a number 100 error).

What I did to work around it was the following:

- Delete the descriptor-file with the double entry in it (or remove the double entry with text-editor)

- Open flash and edit the iPhone iOS settings.

- Click "OKAY" in the iOS settings window (Don't publish from here, flash will save the descriptor file the wrong way and gives you an error after all).

- Go back to text-editor and remove the double entry of "xmlns="http://ns.adobe.com/air/application/2.0" again.

- You now have a correct descriptor file.

- Go back to flash and select "publish"  from the file menu (DON'T open the iPhone iOS Settings at this point, it will corrupt your descriptor-file again)

- Flash will publish the file correctly and make an .ipa file as it should.

It seems the problem is somewhere within the iPhone iOS settings. Once it saves the descriptor-file it puts a double xmlns-attribute in it.

@amish: do you think a Flash CS5-update will be possible to fix this? And can you guys at Adobe recreate the error? Thanx a lot by the way for helping out here.

@colin and the other posters: you guys are great! Thanks for all the help and quick responses. This really is a great forum full of dedicated people.

Inspiring
August 17, 2011

I still have the same issues.

No double entry in the xml-file for me, so that solution doesn't work here, I'm affraid.

I actually created a dualboot-partition on my mac, installed Snow Leopard and Flash CS5 and compile my files from Snow Leopard.

Not the best way of working (have to restart all the time), but at least it works and I can update my app again.

Is anyone from Adobe able to recreate this Flash CS5 <> OSX Lion problem?

Will there be a fix from Adobe for this?

Adobe Employee
August 17, 2011

Hi:

Is it possible for you to send me your app-xml so that i can have a look at it.

I believe packaging through command line also didnt work for you. If i remember correctly you got "error 100: Application descriptor cannot be parsed"

-Amish.

Participating Frequently
August 14, 2011

Hi,

I have the same issue. Has anybody found out what exactly in the descriptor file does not work? Here's what I receive when I compile:

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

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

    <id>ch.netoid.deco</id>

    <version>1.0</version>

    <filename>deco</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>deco</name>

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

<name>

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

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

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

</name>

-->

    <copyright></copyright>

    <initialWindow>

        <content>deco.swf</content>

        <systemChrome>standard</systemChrome>

        <transparent>false</transparent>

        <visible>true</visible>

        <fullScreen>true</fullScreen>

        <autoOrients>false</autoOrients>

        <aspectRatio>portrait</aspectRatio>

        <renderMode>auto</renderMode>

    </initialWindow>

    <customUpdateUI>false</customUpdateUI>

    <allowBrowserInvocation>false</allowBrowserInvocation>

    <icon></icon>

<iPhone><InfoAdditions><![CDATA[<key>UIDeviceFamily</key><array><string>1</string></array>]]></InfoAdditions></iPhone></application>

When I try to publish, I also receive error 100.

Cheers!

Inspiring
August 15, 2011

No succes so far.

It seems it's a problem with flash cs5 and Mac OS Lion.

Hopefully someone from Adobe could provide us with a solution.

Otherwise we have to go back to snow leopard for things to work again.

Op 14 aug. 2011 om 18:30 heeft faro007 <forums@adobe.com> het volgende geschreven:

Hi,

I have the same issue. Has anybody found out what exactly in the descriptor file does not work? Here's what I receive when I compile:

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

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

<id>ch.netoid.deco</id>

<version>1.0</version>

<filename>deco</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>deco</name>

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

<name>

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

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

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

</name>

-->

<copyright></copyright>

<initialWindow>

<content>deco.swf</content>

<systemChrome>standard</systemChrome>

<transparent>false</transparent>

<visible>true</visible>

<fullScreen>true</fullScreen>

<autoOrients>false</autoOrients>

<aspectRatio>portrait</aspectRatio>

<renderMode>auto</renderMode>

</initialWindow>

<customUpdateUI>false</customUpdateUI>

<allowBrowserInvocation>false</allowBrowserInvocation>

<icon></icon>

<iPhone><InfoAdditions><![CDATA[<key>UIDeviceFamily</key><array><string>1</string></array>]]></InfoAdditions></iPhone></application>

When I try to publish, I also receive error 100.

Cheers!

>

Inspiring
August 11, 2011

Yeah, I recreated the problem Amortiz has.

Furthermore, I tried another thing:

- Deleted the descriptor file.

- Opened CS5 and in iOS publish settings recreated everything. (including password and 'remember password for this session')

- Clicked OK > a new descriptor file is created. No errors.

- Then, when I publish through the file menu, flash gave me an error saying: error 100: Application descriptor cannot be parsed.

- This is the first time I see flash giving me an error instead of crashing on me.

The problem with publishing through the file menu is that while publishing, Flash opens up the iOS publish setting for me because it needs my password. I guess the password isn't stored in the descriptor-file, so we can't publish without going into the iOS settings.

Colin Holgate
Inspiring
August 11, 2011

Note how there is a checkbox that you can click that will make it remember your password for this session. That solves the problem of the publish dialog opening up again.

Inspiring
August 11, 2011

You are right, Colin. Unfortunately flash throws an error saying it can't parse the descriptor file.

Op 11 aug. 2011 om 21:02 heeft Colin Holgate <forums@adobe.com> het volgende geschreven:

Note how there is a checkbox that you can click that will make it remember your password for this session. That solves the problem of the publish dialog opening up again.

>

Adobe Employee
August 9, 2011

Are you using AIR 2.6 or 2.7?

As Colin suggested, have you tried packaging from the command line?

The command to use is:

<Path to AIR sdk>/bin/adt -package -target ipa-app-store -storetype pkcs12 -keystore ( my cert ) -storepass ( password ) -provisioning-profile ( my profile ) result.ipa myapp-app.xml myapp.swf

Also, is your java correctly installed on the machine? What does java -version on the terminal show you?

You can also refer to the following threads:

http://forums.adobe.com/message/3817438#3817438

http://forums.adobe.com/message/3813589#3813589

Thanks,

Amish.

Inspiring
August 9, 2011

Thanx for the quick response.

I haven't tried using the command line, but will try this tonight.

I am not using air 2.6 or air 2.7, but the "old" iPhone packager. (because I want my app to support older devices, I can't update to air 2.6 or 2.7 unfortunately)

I think I have a 32bit and 64 bit java-version installed on Lion. I'm not at my computer at the moment, but will try a java version command tonight and will post it here.

Can anyone confirm that the iPhone Packager is still supported in OSX Lion?

Or is there any other way to compile my iOs app for older devices using air 2.7?

I actually bought Flash CS5.5 to develop apps for newer devices, but still have to keep a copy of Flash CS5 installed for my old apps. Would be great if I could just uninstall my "old" Flash CS5.

Thanx!

Colin Holgate
Inspiring
August 8, 2011

Does it succeed if you compile it using the command line?