Skip to main content
Inspiring
August 6, 2012
Answered

Why is "-debug" is being appended to the application name?

  • August 6, 2012
  • 2 replies
  • 1992 views

I'm using Flash Builder 4.6 to create an ipa file and manually deploying the app to my iPad. When it's loaded the application is named app-debug, but in my app.xml file I've specified name as <name>app</name>. I've looked everywhere else to see where it's specified but no luck.

I'm creating the ipa file using the run configuration to target Apple iOS, launch method of "On Device" and I've tried both "Fast" and "Standard" packaging methods.

I using Air sdk 3.3 on OSX Lion (10,7.4)

Why is this happening and what is triggering it?

This topic has been closed for replies.
Correct answer

Hi Chris,

This is a known bug of Flash Builder, that -debug is appended to the appname.

You can manually edit the derived application xml in the bin-debug folder to remove the "debug" suffix. (However, this will have to be done every time you recompile the project)

2 replies

Participant
April 2, 2013

I have found that by simply commenting out the <name> field (which is indicated as optional) in the source *-app.xml file that "-debug" is not appended to the app name. It seems to use the project name as a default for the app name.

Participant
August 19, 2014

commenting out the <name> field solved for me.

Correct answer
August 6, 2012

Hi Chris,

This is a known bug of Flash Builder, that -debug is appended to the appname.

You can manually edit the derived application xml in the bin-debug folder to remove the "debug" suffix. (However, this will have to be done every time you recompile the project)

Participant
September 21, 2012

In FB 4.7 you can change your appID for a launch to any required value. (refer debug/run configuration window - appID is dispalyed and it can be changed).

If you would like to get control of the appName also, please file a JIRA request.

Currently if you would like to change the appName, you can do the following.

in bin-debug folder - create a copy of your appXML (let us call it as appXMLCopy.xml)

In the launch configuration window there is a button name "Customize Launch"

Use Edit parameter - change the AppDescriptor value from appXML.xml to appXMLCopy.xml (this will prevent the orverriting of your modified values).

But please take care to update this copy file if any change is needed.