Welcome to the Official BlackBerry® Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Adobe AIR Development

Reply
Developer
smiley
Posts: 784
Registered: 07-14-2008

Re: HOWTO: Sign your Applications from CMD

fixed the publish error and now i'm getting this when signing

 

Response = Signature Response
Confirm = null
Error = Code signing request failed because Application-Development-Mode in Mani
fest is present and is not set to [false].
]

 

what is that?

Please use plain text.
Developer
JRab
Posts: 2,387
Registered: 11-04-2010

Re: HOWTO: Sign your Applications from CMD

i think the bar file you are trying to sign is still in debug mode. are you using an IDE or command line when you package your project?

J. Rab (Blog) (Twitter)
--
1. If you liked my post or found it useful please click on the thumbs up and provide a Like!
2. If my post solved your problem please click on the Accept as Solution button. Much appreciated!

Approved Apps: OnTrack | ssShots | Hangman
Please use plain text.
Developer
smiley
Posts: 784
Registered: 07-14-2008

Re: HOWTO: Sign your Applications from CMD

 


JRab wrote:

i think the bar file you are trying to sign is still in debug mode. are you using an IDE or command line when you package your project?


I use the IDE and i specifically select Production and checked enable digital signing.

 

Please use plain text.
Developer
tensioncore
Posts: 303
Registered: 12-13-2010
My Carrier: Rogers

Re: HOWTO: Sign your Applications from CMD

Did you follow the GUI instructions from the other guide thread??
If it keeps failing, the COMMAND interface for signing isn't that daunting, and besides I make note of all things you need to know so it should be pretty straightforward to accomplish without errors.
CEO/Lead Developer - Tensioncore Design Studios
http://tncr.ws/ - ShortenThis! for Blackberry Playbook
The Periodical Toe A highly informative Table of Elements
http://www.tensioncore.com/ - Tensioncore Web Hosting
Please use plain text.
Developer
smiley
Posts: 784
Registered: 07-14-2008

Re: HOWTO: Sign your Applications from CMD

[ Edited ]

 


tensioncore wrote:
Did you follow the GUI instructions from the other guide thread??
If it keeps failing, the COMMAND interface for signing isn't that daunting, and besides I make note of all things you need to know so it should be pretty straightforward to accomplish without errors.

 

the gui instruction is easy and i tried and no errors reported.  I just want to make sure it works.

 

how do i verify that the .bar is in fact signed.  i checked the times and they are the same

 

Edit:

 

I tried signing from the cmd line and i got this error ms

 

Response = Signature Response
Confirm = null
Error = Code signing request failed because this file has been previously signed
.
]
barsigner error: server error: Code signing request failed because this file has
 been previously signed.

 

so i guess this means the app is signed

Please use plain text.
Developer
peter9477
Posts: 3,831
Registered: 12-08-2010
My Carrier: none

Re: HOWTO: Sign your Applications from CMD

@smiley, you can always extract the contents of your bar file (it's merely a .zip file with a different extension) and inspect the MANIFEST.MF file with any text editor.  That will let you troubleshoot such problems on your own.


Peter Hansen -- (PlayBook and dev-related blog posts at http://peterhansen.ca.)
Author of White Noise and Battery Guru | Get more from your battery! Power, voltage, life.
Please use plain text.
Developer
JRab
Posts: 2,387
Registered: 11-04-2010

Re: HOWTO: Sign your Applications from CMD

i dont think the gui is actually working. it seems misleading at best. i did a sign via burrito and everything seemed to go well. but no email. i then did a signing via command line and it popped up an obvious errror that my version number was wrong. also i didnt use a blackberry-tablet.xml file in my project. and the gui didnt pick up on it at all.

 

so i recommend you do the command line and clear up any errors you find that way. the gui doesnt seem to be working from what i've seen.

J. Rab (Blog) (Twitter)
--
1. If you liked my post or found it useful please click on the thumbs up and provide a Like!
2. If my post solved your problem please click on the Accept as Solution button. Much appreciated!

Approved Apps: OnTrack | ssShots | Hangman
Please use plain text.
Developer
peter9477
Posts: 3,831
Registered: 12-08-2010
My Carrier: none

Re: HOWTO: Sign your Applications from CMD

@smiley, my post just above this was in response to your first request about the debug mode still being enabled.  

 

Same answer applies to the question of "is it really signed", but this time you can simply inspect the META-INF folder to see whether it contains more than just the MANIFEST.MF file.  If it has the AUTHOR.EC/SF and RDK.EC/SF (that's four files, two extensions for each base name), then it's signed.


Peter Hansen -- (PlayBook and dev-related blog posts at http://peterhansen.ca.)
Author of White Noise and Battery Guru | Get more from your battery! Power, voltage, life.
Please use plain text.
Developer
tensioncore
Posts: 303
Registered: 12-13-2010
My Carrier: Rogers

Re: HOWTO: Sign your Applications from CMD

If everything is there then you shouldn't have any problems because that would indicate that the returned commands from RIMs servers were successful. Otherwise from my tests it doesn't modify anything if the signing process fails
CEO/Lead Developer - Tensioncore Design Studios
http://tncr.ws/ - ShortenThis! for Blackberry Playbook
The Periodical Toe A highly informative Table of Elements
http://www.tensioncore.com/ - Tensioncore Web Hosting
Please use plain text.
Developer
peter9477
Posts: 3,831
Registered: 12-08-2010
My Carrier: none

Re: HOWTO: Sign your Applications from CMD

 


JRab wrote:

i dont think the gui is actually working. it seems misleading at best. i did a sign via burrito and everything seemed to go well. but no email.


 

"No email"?  I never got an email in response to my signing attempt, though it clearly succeeded.  

 

Are you supposed to get an email from RIM with each successful signing?  

 

The only email I got was the "registration request completed successfully for client XXXXX" message, from websigner .at-sign. ws-smtp.rim.net.


Peter Hansen -- (PlayBook and dev-related blog posts at http://peterhansen.ca.)
Author of White Noise and Battery Guru | Get more from your battery! Power, voltage, life.
Please use plain text.