04-14-2011 10:30 AM
I am trying to sign my webbworks application for the playbook but I am having trouble, here is the process of me packaging and then trying to sign it. I can install the unsigned bar file fine but I cannot seem to sign it.
"/Users/mike/Projects/blackberry playbook sdk/bbwp/bbwp" "$build_folder"/build.zip
[INFO] Parsing command line options
[INFO] Parsing bbwp.properties
[INFO] Validating WebWorks archive
[INFO] Parsing config.xml
[WARNING] Failed to find a <feature> element
[INFO] Populating application source
[INFO] Compiling WebWorks application
[INFO] Packaging the bar file
[INFO] Bar packaging complete
[INFO] WebWorks application packaging complete
"/Users/mike/Projects/blackberry playbook sdk/bbwp/blackberry-tablet-sdk/bin/blackberry-sign
Developer Certificate TBS =
30 81 c5 a0 03 02 01 02 02 04 4d 82 a3 99 30 0c
Solved! Go to Solution.
04-14-2011 10:36 AM
The reason this is happening is because you should be signing your app at the same time as building it using bbwp.exe as outlined in the documentation, rather than building your *.bar file first and then signing it using blackberry-signer.
Why? This is due to the fact that the BlackBerry WebWorks SDK currently builds apps in development mode, unless you specify that it should be signed in which case it creates it in release mode. You cannot use blackberry-signer to sign a development mode app.
04-14-2011 11:34 AM
Thanks for the quick reply, this is the way I did it at first but I got the following error:
"/Users/mike/Projects/blackberry playbook sdk/bbwp/bbwp" "$build_folder"/build.zip -gcsk pass -gp12 pass
04-14-2011 11:52 AM
>> barsigner error: server error: Code signing request failed because this file has been previously signed.
This can be caused by trying to sign the same version of the application. Try incrementing the value of the version property in your config.xml (or use the -buildId command line parameter) and sign again.
04-14-2011 11:56 AM
ok thanks, that seemed to work, now how do i verify that it is signed correctly before submitting it to RIM?
03-13-2012 08:53 AM