Updating application with new certificate - iphone

To make a long story short: I have developed an application for a company and I was about to update when I discovered that in the member center area on the Apple website the Development Certificate was gone, as well as the devices and other stuff, so I made a new one and uploaded the device ID again.
So everything okay...I thought. I opened iTunes and downloaded the new provisioning profile and dragged it over to the organizer window. But it did not work. I got several different warning and errors saying the the keys, certificates etc did not match, so I Googled. I saw some posts that said: try making a new distrubution certificate...so I did, then xcode told me that I had to many certificates for that app so I exported the certificates by right clicking the selected certificates in the keychain and tapped export. I ended up with a Certificates.cer file. Then I deleted those certificates to make room for the new ones i downloaded from the member center portal.
SO now I do not know what I have done...I am afraid that I screwed something really up.
My question is: I really hope it is still possible to update the application already in appstore even though I have to recreate the certficates, provisioning profiles etc.
Best regards

You can alway start from scratch, deleting all the provisioning profiles through your developer member page, recreating the profiles you need, importing them in Xcode and rebuilding the app with them. You cannot screw things that much, not being able to publish the app once again.
Clear all the contents of Xcode, and of your provisioning profiles page, and start over. Things will work. I've done this tens of times.

Related

iOS Provisioning Profile error

I am currently having some problems regarding provisioning profiles on the dev centre. In the past, I have been able to successfully create and deploy apps on internal app stores and on multiple devices. I have never run into trouble when trying to sign my apps. However, since the last update on the dev-portal, I have not been able to create new provisioning profiles - which is becoming a big problem.
I have successfully created an app id, com.xx.USApp and created a certificate for it: com.xx.USApp just as I did for all my other apps in the past. However, when I go to "Provisioning Profiles", I am unable to create a profile for any App ID (not even for the previous apps). When I try, I am able to select an App ID, then on the next screen, this message pops up: http://i.imgur.com/grEcut5.png
It is telling me to create a certificate, which I have already done - as can been seen here: http://i.imgur.com/ouW7LKo.png
I have even tried to make additional ones through the links they have provided me, however whenever I go back to the Provisioning tab, the same message occurs. In the past, I was taken to this dialog: http://i.imgur.com/QnP5X3s.png which then gave me a list of all my certificate files. I am wondering if this is a bug in their update and how I would go about resolving this issue.
Thanks!
Apple has decided to move the place where you setup provisioning profiles to the member center. That could be the problem. Not sure why they moved it. Try adding it from the new member center.
There was a problem with their servers when trying to create provisioning profiles. They have since fixed this issue.

ios - provisioning profile issues

I recently re-installed my mac for a good spring clean and did a complete backup with Super Duper:-)
Now on the day I did the re-install Apple's servers had issues with signing certificates, which I didn't know and thought I was messing things up. So I deleted all of them from my account and thought to start over again.
I have them downloaded, but obviously they are not on my account anymore.
Now I have an update for an app in the app store and no matter what I try, I can't sign the app to make it ready for the upload. Have I completely stuffed this and do I need to make a new app in iTunes Connect?
PS I do not believe this question is under NDA - if it is I am happy to delete it, I have also posted this on the apple forum, but I am seem to get quicker answers here:-)
Thanks for your help.
Whatever you do DON'T make a new App. This is simply a provisioning profile and signing certificate issue. Just go through the process of setting those up all again. And then make sure your Project knows to use the NEW ones and does not have references to old ones in Git or whatever source code control you use.

Error Validating and uploading App to iTunes Connect

This is driving me crazy. I've tried searching for answers and nothing quite matches my problem.
I've successfully archived my app and need to upload it to iTunes Connect. Apple recommends Application Loader but first needs to be done in Xcode. When I attempt to validate or Distribute the app in Xcode, I get an error saying "No Identities are available for signing"
I'm confused because I've wiped my certificates and profiles clean but I continue to get this message. Any ideas what I'm missing?
"No identities available for signing" can get frustrating. What you should do is regenerate your distribution certificate and profile, that should fix the issue.
If you need help regenerating: Download and open the new distribution certificate, which will store it in your keychain. Then, drag-and-drop the profile into your Xcode organizer. Next, your going to click on the project in the upper left (it has a blue icon next to it), that will bring up the projects info. There should be 2 tabs at the top of the screen, "Info" and "Build Settings". When you click on Build Settings, the option to change the code signing is about halfway down the screen. When I ran into this issue, I had to change every single one of the code signing options to iPhone Distribution. (It might not be necessary to change every field, but I did). You should be good to go after this, let me know if you have anymore issues.
I solved the problem by deleting ALL dev profiles and recreating a single provisional profile for Distribution and Developing each. Xcode then selected the profiles automatically without me having to import them into Xcode.

Archive - Share resigning is using old provision

So my distribution certificate expired (happy anniversary) so I had to go through the fun of new cert, provisioning profiles, etc. Everything seemed fine, made the new build and sent it to my client, and the the fun started.
he kept getting the dreaded "entitlements are not valid" message. I knew for a fact that his device was on the ad hoc mobile provision (i even opened it and found the device id in question)
After banging my head on my desk for a couple hours, trying cleans, rebuilds, redoing the cert, profiles, etc, all to no avail, i noticed the "dont resign" option on the share dialog in the organizer. I said what the heck and gave it a shot. much to my surprise, that ipa worked like it was supposed to.
so the only logical thing i can think is that the provisioning profile organizer wants to use isnt the one i actually signed it with, but the old one. that said, i have cleared the old one off the system completely (out of organizer, the file is gone, no longer referenced in the project)
so everyone is happy now, they can test this version, but i hate not knowing why (plus its going to be really annoying every time i have to select that option)
anyone have any ideas as to why and how to catch organizer up?

I'm in an iPhone provisioning mess -- Insight needed

My app has been more or less ready to be submitted for a while now, but as usual, the overly complex provisioning nonsense that Apple forces developers to jump through is causing me an enormous amount of stress. Initially the problem I was receiving was Invalid Codesign. After trying every 'solution' i could find on the internet and failing, I decided that it would be best if I started fresh -- Deleted all my provioning profiles, cleaned up my itunes connect account, deleted all my keys and certificate from the keychain access and started from scratch. The problem is that once I deleted by keys and developer certificate from the keychain access, I cant get them back!!! I've tried restarting, I've tried installing it every way imaginable, but I just cant get anything to be listed in the 'keys' nor 'my certificates' sections of the keychain access. I do have an iPhone edveloper profile in the 'certificates section' but this doesnt even seem to be of any use because when I look in the Organizer there are no developer profiles listed, and all my provisioning profiles warn "A valid signing identity matching this profile could not be found in your keychain"
Someone please help me through this mess. I've been developing my app for several months now and I already have an app in the App Store but Apple insists on making this process damn near impossible. Thanks so much!!!
Your public and private keys are automagically generated when required - if you use the certificate assistant to request a signing certificate as the provisioning profile describes you will find your new private/public keys created.
Once you begin this process you should also use spotlight to remove all .mobileprovision and .cer files you may have remaining in downloads, and also use organizer to remove profiles from devices. If you are starting from scratch you want to make sure none of that stuff remains to cause you problems.
This is an overcomplicated process to be sure, but once everything is really deleted and a fresh start is made it should be good for some time. The biggest problems I have had are when getting a new Mac and having hiccups with exporting/importing keys in an effort to keep my old certificates/provisioning valid.