01-02-2013 06:40 PM
I've installed the Blackberry 10 SDK using the instructions here:
However, I'm having trouble getting my Macbook configured to code sign future apps. I'm trying to port an HTML5 Web App built with jQuery Mobile to Blackberry 10 using Phonegap.
I'm following the instructions here on how to do it:
It seems that these directions are for development on Windows. Are there any instructions to do it in Terminal on a Mac?
This is the way I'm doing it in Terminal:
blackberry-signer –register –csjpin <MY_PIN> –storepass <MY_PASSWORD> /Users/HAL9000/Documents/Blackberry\ Keys/BlackBerry\ 10\ and\ Playbook/client-RDK-1951327.csj /Users/HAL9000/Documents/Blackberry\ Keys/BlackBerry\ 10\ and\ Playbook/client-PBDT-1951327.csj
I get this error when trying to do it this way from the instructions on the site:
-bash: blackberry-signer: command not found
Thanks in advance!!
01-02-2013 09:37 PM
01-03-2013 12:30 AM
Thanks! This was helpful, but the code signing and registering process for BB 10 apps is dreadful. This is taking WAY too long and the documentation is all over the place.
I was able to generate the barsigner.csk and barsigner.db and output.p12, but the output.bar file didn't for some reason (probably cause I'm doing thing out of order now from the fragmented docs). I did register the CSJ files with the server using the directions from here.
I'm at this step, but don't have a output.bar file, so I'm stuck at this point. Is this a file created after compling an app with the WebWorks SDK?
./blackberry-signer -keystore <your P12 file> -storepass <your p12 file password> <BAR_file.bar> author
ATTN: Blackberry Team:
The documentation for doing this is REALLY terrible if you are trying to attract new developers.
01-03-2013 06:18 AM
Did you follow these steps? Thes is the official documentation for code signing. https://developer.blackberry.com/html5/documentati
If you have your barsigner.csk and barsigner.db and output.p12 then you should be able o sign your actual app and see what it does.
I didn't read the whole thread you linked to so I am not sure if you were trying to solve another problem but I have never done steps 6 and 7 mentioned in that thread (they are for playbook not BB10). I always follow the process at https://developer.blackberry.com/html5/documentati
01-03-2013 01:29 PM
Yes, I did follow those steps, however, I had to follow the additional steps in the link I posted for me to launch my app in the simulator and to get all the output files.
I'm trying to launch the Hello World - Phonegap/Cordova example. According to the Terminal, it was succesfully installed. I see the icon on the homescreen of the simulator but doesn't launch when I press the icon. It just hangs, and it shows the Blackberry 10 screen.
07-03-2014 10:54 PM
In the past, i could not signed bar file from Unity3d. But i don't know now i can easily sign bar file with this method (Terminal of Mac OS):
Sign the file 'application.bar' using the password 'rocket11' to retrieve the CSK file
and developer certificate:
blackberry-signer -storepass rocket11 application.bar
Verifies the 'application.bar' is properly signed:
blackberry-signer -verify application.bar