If it is still downloaded after you delete it from your keychain (which might not be happening anymore if Apple has fixed that issue), then there is one (last?) resort you could try, before calling Apple. I would try to request a certificate, using the Certificate Assistant in your Keychain Access application. In case you aren't familiar, the Certificate Assistant is under the Keychain Access menu. The steps are pretty straight forward.
As a different approach you could also try using the xcodebuild command on the command line. This sometimes works where xCode fails, in cases where you are having trouble with managing your IDs or adding accounts within xCode.
You need the following information:
- the full path to the project file
- the Scheme name for the Scheme that you use for archiving, as it appears in xCode. If you don't have a scheme set up for archiving, you need to do so for this purpose.
Then you can generate the archive:
xcodebuild archive -project [full path in quotes] -scheme [name of scheme in quotes]
Now that it's archived, you now need to export it. For this step, you need the following information:
- The full path to the archive you just generated. The location for xCode Archives is in xCode preferences, under the Locations tab.
- The full path and file name of the resulting IPA file
- The name of the provisioning profile, as it appears in xCode, e.g. the name you gave it when you set it up in the Developer Portal.
Then you can do the export:
xcodebuild -exportArchive -archivePath [full path in quotes] -exportPath [full path in quotes, without the file extension] -exportFormat [usually ipa, no need for quotes] -exportProvisioningProfile [profile name, as it appears in xCode, in quotes]
Let me know if this helps!