Home > Uncategorized > (PlayBook) Code signing request failed because this file has been previously signed

(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

 

 

Categories: Uncategorized
  1. Kadabra's avatar
    Kadabra
    August 1, 2012 at 6:05 pm

    THANK YOU!!!
    This is the right solution, I came accross tons of forums and supports for hours!! You save me from a nerve break

    Like

  2. docho's avatar
    docho
    October 3, 2012 at 5:38 pm

    thanks a lot !!!!

    Like

  3. luizz17@hotmail.com's avatar
    luizz17@hotmail.com
    April 10, 2013 at 1:29 pm

    Very good!!! Thanks!

    Like

  1. No trackbacks yet.

Leave a comment