Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Adobe AIR Development

Reply
New Developer
alexperri7
Posts: 325
Registered: ‎10-28-2010
My Device: Blackberry Bold 9900
My Carrier: Telus
Accepted Solution

signing app on mac

Hey everyone,

 

I'm a little confused about using the cmd line for signing my app on my mac. I'm trying to navigate to the blackberry sdk directory which is under my adobe flash builder burrito directory in my applications folder, but terminal isn't navigating there.

 

Is there someone who could help me with this process? I tried typing this in:

 

cd /Applications/Adobe_Flash_Builder_Burrito/sdks/blackberry-tablet-sdk-0.9.3/bin/

 

but I keep getting this error:

 

cd: /Applications/Adobe_Flash_Builder_Burrito/sdks/blackberry-tablet-sdk-0.9.3/bin/: No such file or directory

---------------------------------
My PlayBook Apps: Pocket Portrait Lighting, Pocket Food Photography, Allergen Free Cooking, Easy Agenda
Please use plain text.
Contributor
ericdev
Posts: 27
Registered: ‎11-27-2010
My Device: Playbook
My Carrier: none

Re: signing app on mac

You're on a mac so drag-and-drop is the answer.

 

open the terminal and type: 'cd' and a space.

then navigate to with the Finder to the directory and drop the 'bin' folder on the terminal window.

 

--------------


My Playbook App: FaceWarp
Please use plain text.
Super Contributor
JeffLemon
Posts: 440
Registered: ‎01-13-2011
My Device: Playbook
My Carrier: NA

Re: signing app on mac

Also when executing commands use ./ before the command eg:

 

./blackberry-signer...

 

 

--------------------------------------------------------------------------------------------------
BlackBerry Apps: Instruments | ARTPAD | Piano | Drums | Xylophone
Please use plain text.
Developer
kdittyr
Posts: 278
Registered: ‎10-27-2010
My Device: Playbook

Re: signing app on mac

[ Edited ]

 


ericdev wrote:

You're on a mac so drag-and-drop is the answer.

 

open the terminal and type: 'cd' and a space.

then navigate to with the Finder to the directory and drop the 'bin' folder on the terminal window.

 


I've been using mac for years and never realized that.  great tip, thanks :smileyhappy:

 

It sure beats:

cd ( folder name here )

ls 

cd ( folder name here )

ls 

cd ( folder name here )

ls 

cd ( folder name here )

ls 

 

--------------
kdittyr

Accepted PlayBook Applications:
HDB Converter -- Utilities/Calculators
Please use plain text.
Developer
TheDarkIn1978
Posts: 409
Registered: ‎12-10-2010
My Device: PlayBook
My Carrier: N/A

Re: signing app on mac

last time i used Windows drag and drop also worked in cmd.exe (i think that's what it's called).  but for sure, drag and drop using Terminal on Mac OS X is totally the way.  you don't even really need to change or even organize directories with drag and drop.


PlayBook Applications:
Drop Swatch
Please use plain text.
New Developer
alexperri7
Posts: 325
Registered: ‎10-28-2010
My Device: Blackberry Bold 9900
My Carrier: Telus

Re: signing app on mac

That's awesome. Thanks!

---------------------------------
My PlayBook Apps: Pocket Portrait Lighting, Pocket Food Photography, Allergen Free Cooking, Easy Agenda
Please use plain text.
New Developer
alexperri7
Posts: 325
Registered: ‎10-28-2010
My Device: Blackberry Bold 9900
My Carrier: Telus

Re: signing app on mac

So just to clear one thing up, to execute commands for this:

 

blackberry-signer -verbose -cskpass <CSK PASSWORD FROM FIRST STEP> -keystore YOURCERT.p12 -storepass <YOUR STORE PASSWORD> <YOUR BAR FILE> RDK

 

I have to add ./ before everything? as in

 

./blackberry-signer ./-verbose ./-cskpass <CSK PASSWORD FROM FIRST STEP> ./-keystore YOURCERT.p12 ./-storepass <YOUR STORE PASSWORD> <YOUR BAR FILE> RDK

---------------------------------
My PlayBook Apps: Pocket Portrait Lighting, Pocket Food Photography, Allergen Free Cooking, Easy Agenda
Please use plain text.
Contributor
ericdev
Posts: 27
Registered: ‎11-27-2010
My Device: Playbook
My Carrier: none

Re: signing app on mac

[ Edited ]

no only in front of the "blackberry-signer" so you get this:

 

./blackberry-signer -verbose -cskpass <CSK PASSWORD FROM FIRST STEP> -keystore YOURCERT.p12 -storepass <YOUR STORE PASSWORD> <YOUR BAR FILE> RDK

--------------


My Playbook App: FaceWarp
Please use plain text.
New Developer
alexperri7
Posts: 325
Registered: ‎10-28-2010
My Device: Blackberry Bold 9900
My Carrier: Telus

Re: signing app on mac

Ok perfect. Thanks for the help!

---------------------------------
My PlayBook Apps: Pocket Portrait Lighting, Pocket Food Photography, Allergen Free Cooking, Easy Agenda
Please use plain text.
New Developer
alexperri7
Posts: 325
Registered: ‎10-28-2010
My Device: Blackberry Bold 9900
My Carrier: Telus

Re: signing app on mac

Sorry guys. Still having problems. I tried typing it in two ways, one with < > for the areas with passwords and one without them. This is what terminal tells me:

 

Alexander-Perris-MacBook-Pro:Applications AP_Photography$ /Applications/Adobe\ Flash\ Builder\ Burrito/sdks/blackberry-tablet-sdk-0.9.3/bin ./blackberry-signer -verbose -cskpass <app8890> -keystore certificate.p12 -storepass <ferrari1> <PocketPhotoOrganizer.bar> RDK
-bash: syntax error near unexpected token `<'


Alexander-Perris-MacBook-Pro:Applications AP_Photography$ ./blackberry-signer -verbose -cskpass app8890 -keystore certificate.p12 -storepass ferrari1 PocketPhotoOrganizer.bar RDK
-bash: ./blackberry-signer: No such file or directory
Alexander-Perris-MacBook-Pro:Applications AP_Photography$

 

What am I doing wrong?

---------------------------------
My PlayBook Apps: Pocket Portrait Lighting, Pocket Food Photography, Allergen Free Cooking, Easy Agenda
Please use plain text.