(PlayBook) Code signing request failed because this file has been previously signed
If you’re working on developing for BlackBerry PlayBook TabletOS, using webworks, you’ll find the usual fun & games when trying to sign the BAR file.
Here’s a few “Gotcha’s” that I got this morning:
[INFO] Parsing command line options
[INFO] Parsing bbwp.properties
[INFO] Validating WebWorks archive
[INFO] Parsing config.xml
[INFO] Populating application source
[INFO] Compiling WebWorks application
[INFO] Packaging the bar file
[INFO] Bar packaging complete
[INFO] Starting signing tool
Error: Code signing request failed because this file has been previously signed.
[ERROR] Signing failed
The solution to this error is to increment the buildId, as follows:
C:\Program Files\Research In Motion\BlackBerry WebWorks SDK for TabletOS 2.2.0.5\bbwp>
bbwp c:\bbwp\build\APP.zip -g -gcsk pwd -gp12 pwd2 -o c:\bbwp\build -buildId 2
Another nice error was this:
[INFO] Parsing command line options
[ERROR] Cannot sign application – failed to find signing keys
This basically meant that your p12 file needs to be in this folder
C:\Program Files\Research In Motion\BlackBerry WebWorks SDK for TabletOS 2.2.0.5\bbwp\bin
and named “sigtool.p12”
THANK YOU!!!
This is the right solution, I came accross tons of forums and supports for hours!! You save me from a nerve break
LikeLike
thanks a lot !!!!
LikeLike
Very good!!! Thanks!
LikeLike