12-29-2010 04:41 PM
Can anyone guide me to the step on how to package the application for submission? I have created run configuration that deploys to the simulator? Currently, it is generating a bar file in my bin-debug folder and also when I see the application on simulator, the title has -debug beside it.
Can someone please provide the link on how to build for release?
Solved! Go to Solution.
12-29-2010 04:55 PM
The search term you probably didn't discover or think of was "production", and using that I found this solution from a previous topic.
12-30-2010 01:01 PM
I tried the solution in the link. As per it the only thing I needed to do was add -debug=false in the project compiler settings. However, I see no change in behaviour. The bar file is still produced in the bin-debug folder and the application title in simulator has -debug with it.
12-30-2010 01:07 PM
Yes, changing the compiler setting to debug=false does not change any file locations or names. That is something you would have to do outside. If you have an install script, you could possibly do it there.
Are you saing the application title in the simulator is something like "My App -debug"? The name of the application is controlled in the *-app.xml file. What is it called there?
12-30-2010 01:13 PM
if you are using FlashBuilder you could also try: Project -> Export Release Build, and follow the dialog. Remember that signing is not yet aviable.
12-30-2010 03:08 PM
The name of the app in simulator is like"My App -debug". I looked up the *-app.xml file and I do not see -debug or debug anywhere.
I use only the command line tools so I can't say for sure, but it seems likely to me that you have multiple packages built in one or more locations, and you're looking at "stale" data. Try deleting the one you just looked at, or move it to a new location. Uninstall the app from the simulator to make sure you are not just re-running the old one again.
Then deploy and re-check the title onscreen in the simulator and in the XML file. They have to match... if they don't, you have another package somewhere else, and just haven't found and deleted it yet.
12-30-2010 08:52 PM
I am using Flash Burrito 4.5
Here is what I see happening.
The app.xml in my project has the right name. However, when I build, the app.xml in bin-debug has the name as "MyApp-debug"
Now, How can I build the application in release mode and deploy that release mode bar to the simulator?
12-30-2010 11:08 PM
i know it can be frustrating - adobe doesnt make the playbook the easiest platform to work with. here are screen shots and steps you need to take to export your project.
1. Go to Projects > Export Release Build:
2. Uncheck Deploy application to any connected devices:
3. Hit Next.
4. Hit Finish:
After hitting finish your final .bar file will be in the root folder of your project. For instance the name of my project is "NavBarTest" so it would be in the NavBarTest folder and not in the bin-debug folder.
You can now submit that bar file to app world for approval.
On a side note if you want to confirm that it worked and there is no -debug in the name of the application do the following:
I am on a mac so if you are using windows the commands will be slightly different. Also make sure that you are in your project's root directory. Mine is /NavBarTest (you will see your .bar package there).
run this command replacing the bold text with your own settings and names:
"/Applications/Adobe Flash Builder Burrito/sdks/blackberry-tablet-sdk-0.9.1/bin/"blac
kberry-deploy -installApp -package NavBarTest.bar -device 172.16.176.130
it will look something like this when you run it:
after doing so go to your simulator and look for your application. if it doesnt show up, switch to the "Internet" tab and then switch back to the "All" tab and it will show up. Click on your applicatoin and it will open without a problem:
After doing all that you should be rest assured everythng went according to plan and submit your app with no worries.
Note that all of my screen shots need to be approved before you can see them so give it some time and the screen shots will appear. hope this helps and good luck with your submission!