I think I'm a little confused about debug tokens and code signing on BB10.
When I load a signed app onto my Z10 it runs fine until I delete the debug token on the phone then the app won't start.
Why do I need a debug token if the app is signed?
I guess it must have been signed with the debug token, I didn't get an email like I do signing BB7 apps.
How do I sign it for release without using the command line?
Still having no luck.
From the bar-descriptor.xml file, I click "Configure package signing and debug tokens".
I then clicked "Certificate certificate" and after entering my code signing password a certificate was created.
I then exported a release build and tried to run it but was informed there was no debug token on the phone.
So I create a debug token and the app loads and runs fine.
If I delete the debug token on the phone, the app will no longer run.
This is taken from the .bar file that is created after exporting the release build.
Works on Momentics as well, without a debug token on my device, though, I didn't have my usb cable so I had to make the package then blackberry-deploy from the command line.
All I can suggest is, for Momentics, make sure you're exporting a device release build of the app, AND that your signing preferences lists you as Registered, and that your development certificate is selected.
I've since filtered those emails out of my inbox, nothing like 10-50 emails for the privileged .cod files signed, and no decent device debugging of unsigned content.
Works on Momentics as well, without a debug token on my device, though, I didn't have my usb cable so I had to make the package then blackberry-deploy from the command line.
All I can suggest is, for Momentics, make sure you're exporting a device release build of the app, AND that your signing preferences lists you as Registered, and that your development certificate is selected.
Posted via CB10
I'm listed as registered and I'm exporting a device release build and my development certificate is selected, still no good.
Should I be receiving an email when I sign the application because I am not?
How are you getting the bar onto your device? If you "Run" the app in Momentics, that's using a 'device-debug' build which will use the token. Try changing to a 'device-release" build. That's the drop down next to run, called "Run configurations." or right click your project, go to build configurations, and set active to device-release.
I'm using a device-release build. Won't download without a debug token installed!
If I install the debug token the app runs fine, when I delete it the app won't run.
Thanks for your help so far, I'll have another go tomorrow, getting late here now.
Just tried side loading the .bar file and now it runs without a debug token installed on the phone.
I thought there would be a way to do this from Cascades but I can't figure it out.
I haven't used Cascades yet, so I can't help you with that part but I've released two programs so far on BlackBerry World and never got emails about signing them so I don't think it emails anymore.
I haven't used Cascades yet, so I can't help you with that part but I've released two programs so far on BlackBerry World and never got emails about signing them so I don't think it emails anymore.
I figured this out with some help from the BlackBerry developers forum.
You have to right click on the signed .bar file, select BlackBerry Tools, then click install.
Installs it on the phone is a couple of seconds and runs without a debug token.