Debug certificate has expired

The place to discuss anything and everything about running your LiveCode on Android

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
SusanB
Posts: 111
Joined: Mon Nov 07, 2011 4:10 am
Contact:

Debug certificate has expired

Post by SusanB » Sat Jul 13, 2013 11:57 pm

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

Mag
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 802
Joined: Fri Nov 16, 2012 10:51 pm

Re: Debug certificate has expired

Post by Mag » Sun Jul 14, 2013 12:13 am

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.

SusanB
Posts: 111
Joined: Mon Nov 07, 2011 4:10 am
Contact:

Re: Debug certificate has expired

Post by SusanB » Sun Jul 14, 2013 5:14 am

Oops. This is for Android not IOS ;) I'm going over to the other side this summer. It's a different climate over here.

Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am

Re: Debug certificate has expired

Post by Simon » Sun Jul 14, 2013 6:22 am

Hi Susan,
Apparently you just have to delete a file:
http://stackoverflow.com/questions/2194 ... id-plugins


Tony Coin (ha) :)
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

Mag
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 802
Joined: Fri Nov 16, 2012 10:51 pm

Re: Debug certificate has expired

Post by Mag » Sun Jul 14, 2013 12:24 pm

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 :)

SusanB
Posts: 111
Joined: Mon Nov 07, 2011 4:10 am
Contact:

Re: Debug certificate has expired

Post by SusanB » Wed Jul 17, 2013 12:22 am

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.

Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am

Re: Debug certificate has expired

Post by Simon » Wed Jul 17, 2013 1:27 am

I guess you should just search for keystore.debug and probably rename it not delete it.
Shouldn't need terminal for that.

Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

LCNeil
Livecode Staff Member
Livecode Staff Member
Posts: 1223
Joined: Wed Oct 03, 2012 4:07 pm

Re: Debug certificate has expired

Post by LCNeil » Wed Jul 17, 2013 8:18 am

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
--

SusanB
Posts: 111
Joined: Mon Nov 07, 2011 4:10 am
Contact:

Re: Debug certificate has expired

Post by SusanB » Thu Jul 18, 2013 5:33 am

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

Post Reply