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

 

 

Advertisements
Categories: Uncategorized
  1. 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

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

    thanks a lot !!!!

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

    Very good!!! Thanks!

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: