Page 1 of 1

Debug certificate has expired

Posted: Sat Jul 13, 2013 11:57 pm
by SusanB
This is the message I get just about when I think the app will show in the emulator: Unable to build app for testing: debug certificate has expired, please refresh. I'm a newbie and didn't even know I had a debug certificate to refresh. Any help would be greatly appreciated!

Susan

Re: Debug certificate has expired

Posted: Sun Jul 14, 2013 12:13 am
by Mag
SusanB wrote:This is the message I get just about when I think the app will show in the emulator: Unable to build app for testing: debug certificate has expired, please refresh. I'm a newbie and didn't even know I had a debug certificate to refresh. Any help would be greatly appreciated!

Susan
I Susan, I think you have to go in the Apple Developer portal and renew your certificate and maybe also the provisioning files containing it (following the instructions you will find there). The certificate I think is the one you have in Keychan, the profiles are the one you have in Xcode -> Window -> Organizer.

Please someone correct me if I'm wrong.

Re: Debug certificate has expired

Posted: Sun Jul 14, 2013 5:14 am
by SusanB
Oops. This is for Android not IOS ;) I'm going over to the other side this summer. It's a different climate over here.

Re: Debug certificate has expired

Posted: Sun Jul 14, 2013 6:22 am
by Simon
Hi Susan,
Apparently you just have to delete a file:
http://stackoverflow.com/questions/2194 ... id-plugins


Tony Coin (ha) :)

Re: Debug certificate has expired

Posted: Sun Jul 14, 2013 12:24 pm
by Mag
SusanB wrote:Oops. This is for Android not IOS ;) I'm going over to the other side this summer. It's a different climate over here.
Oops :)

Re: Debug certificate has expired

Posted: Wed Jul 17, 2013 12:22 am
by SusanB
Apparently you just have to delete a file:
http://stackoverflow.com/questions/2194 ... id-plugins

Thanks for sharing this! However, I tried typing the script into Terminal that was provided at the above link that is supposed to fix the problem, but the same thing happened. I feel like I am so close, and yet so far.

Re: Debug certificate has expired

Posted: Wed Jul 17, 2013 1:27 am
by Simon
I guess you should just search for keystore.debug and probably rename it not delete it.
Shouldn't need terminal for that.

Simon

Re: Debug certificate has expired

Posted: Wed Jul 17, 2013 8:18 am
by LCNeil
Dear SusanB

Thank you for your request.

The debug.keystore file is located in a hidden directory on your Mac. This folder is by default in your 'Home' directory. The easiest way to access it is via the "Go To Folder" option in the Mac finder (Go--->Go To Folder).

The directory you will want to open via this method is "~/.android" (Without the quotes)

In here you will find the debug.keystore file. You can simply delete this and a new one will be generated when you either build an android standalone or deploy to an Android simulator/device.

Kind Regards,

Neil Roger
--
RunRev Support Team ~ http://www.runrev.com
--

Re: Debug certificate has expired

Posted: Thu Jul 18, 2013 5:33 am
by SusanB
Neal, thank you so much. One big problem was that I couldn't find the elusive, hidden debug.keystore file, and you so patiently showed the way. I feel like I've gone from the superficial bells and whistles of computerdom to the secret inner sanctuary :) And while I still couldn't see the app on the emulator even after it had supposedly been launched, I successfully deployed it to a device, which is good enough for me. Next step: figure out how to make it bigger than a postage stamp!

Susan