My Apple Certificates disappeared leaving my apps marked as "expired"
BigDave
Member Posts: 2,239
So my account was prolonged in other words i bought another year apple app account.
And it worked fine the last 2 months after this. But today for unknown reason my Certificate was gone not longer in the iOS dev center.
I searched my screen for it. Could not find the files anymore. So maybe I deleted them locally by mistake but why would they also disappear from the dev center?
Do they expire as well?
Comments
I fail to sign my apps now. I wonder why since I created all from scratch again based on the youtube video I learned it the first time.
How I did it:
1.)
I created a new CertificateSigningRequest.certSigningRequest
via the keychain.
2:)
I logged into iOS Dev Center, went to the Certificate section.
There was no more Certificate so I clicked "Production" the sub-option.
Hit the plus icon.
3.)
For the type of certificate I selected:
Production:
App Store and Ad Hoc
Sign your iOS app for submission to the App Store or for Ad Hoc distribution.
4.)
For the CSR file I uploaded the new
CertificateSigningRequest.certSigningRequest
And hit Generate.
5.)
Than I Downloaded the
ios_distribution.cer
6.)
Double clicked it, the keychain opened asked for the password which I typed in.
All looked ok.
7.)
So I went back to game salad and hit the upload button which brings me to publish in where I hit build and after that sign the app.
8.)
I selected the old provisiong profile which now is linked with the new certificate in the iOS dev center.
9.) It failed to sign the app
My Apps
https://itunes.apple.com/de/artist/david-zobrist/id733552276
https://play.google.com/store/apps/developer?id=David+Zobrist&hl=de
My Apps
https://itunes.apple.com/de/artist/david-zobrist/id733552276
https://play.google.com/store/apps/developer?id=David+Zobrist&hl=de
My Apps
https://itunes.apple.com/de/artist/david-zobrist/id733552276
https://play.google.com/store/apps/developer?id=David+Zobrist&hl=de
You are missing the development profile. Also make sure after you change a profile refresh it in xcode.
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS
@The_Gamesalad_Guru
I created the dev. certificate too now. ( see screenshot)
I saw in your video there where keys attached to them in the keychain, this is not the case in mine.
"Also make sure after you change a profile refresh it in Xcode."
Where do I check this?
I did the whole process once more this morning.
Got fresh keychain access + both certificates ( production + dev)
Downloaded all, installed it to the keychain and Xcode.
Result: Still getting the same debug message when I try to sign the app.
Could it be that it somehow conflicts with the old one?
My Apps
https://itunes.apple.com/de/artist/david-zobrist/id733552276
https://play.google.com/store/apps/developer?id=David+Zobrist&hl=de
Just to clarify that the prov. profile is alright. It's linked to the new active certificates.
Its also the only green lighted provisioning profile in a big list of invalids now.
My Apps
https://itunes.apple.com/de/artist/david-zobrist/id733552276
https://play.google.com/store/apps/developer?id=David+Zobrist&hl=de
I also found this:
Your Keychain Contains Duplicate Code Signing Identities
You get one of these error messages when there are duplicate code signing identities in your keychain, such as two development identities or two distribution identities (your keychain must contain at most one code signing identity of each type):
Build error "iPhone Developer: (XYZ123ABC): ambiguous (matches "iPhone Developer: (XYZ123ABC)" in /Library/Keychains/System.keychain and "iPhone Developer: (XYZ123ABC)" in /Users/../Library/Keychains/login.keychain)"
[BEROR]CodeSign error: Certificate identity 'iPhone Distribution: ' appears more than once in the keychain. The codesign tool requires there only be one.
To address these errors, try deleting the duplicate code signing identities from your keychain, as described in Removing Signing Identities from Your Keychain.
My Apps
https://itunes.apple.com/de/artist/david-zobrist/id733552276
https://play.google.com/store/apps/developer?id=David+Zobrist&hl=de
Ahhhh I found the keys.
You have to select "Log In" in the keychain not "system"
And there I also see the expired certificates.
My Apps
https://itunes.apple.com/de/artist/david-zobrist/id733552276
https://play.google.com/store/apps/developer?id=David+Zobrist&hl=de
What a horror but here the solution:
Delete all existing keys under "Log IN"
before creating all new.
It was basically conflicting on a expired duplicate
My Apps
https://itunes.apple.com/de/artist/david-zobrist/id733552276
https://play.google.com/store/apps/developer?id=David+Zobrist&hl=de
You can tag this thread as "answered"
My Apps
https://itunes.apple.com/de/artist/david-zobrist/id733552276
https://play.google.com/store/apps/developer?id=David+Zobrist&hl=de
Hey dave when you alter stuff in the developer portal no need to manually download anything just open xcode go to preferences click the accounts tab and hit the button at the bottom of the window and that opens a sub window revealing your profiles hit the refresh button in that window and everything updates.
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS
Thats a nice one.
Thank you!
My Apps
https://itunes.apple.com/de/artist/david-zobrist/id733552276
https://play.google.com/store/apps/developer?id=David+Zobrist&hl=de