If it is still loaded after you removed it from your keychain (which might not happen anymore if Apple fixed this problem), then there is one (last?) Resort that you could try before calling Apple I would try to request a certificate using the certificate helper in Keychain Access app. If you are not familiar, the certificate assistant is located in the "Keychain Access" menu. The steps are pretty straight forward.
As another approach, you can also try using the xcodebuild command on the command line. Sometimes this works when xCode fails, in cases where you have problems managing your identifiers or adding accounts to xCode.
You need the following information:
- full path to the project file
- The schema name for the schema that you use for archiving, as shown in xCode. If you do not have a scheme configured for archiving, you need to do this for this purpose.
Then you can create an archive:
xcodebuild archive -project [full path in quotation marks] -schema [schema name in quotation marks]
Now that it is archived, you need to export it. For this step, you need the following information:
- The full path to the archive you just created. The place for xCode archives is located in the xCode settings on the "Locations" tab.
- Full path and file name of the IPA result file
- The name of the grant profile, as shown in xCode, for example. the name that you specified when setting up the developer portal.
Then you can export:
xcodebuild -exportArchive -archivePath [full path in quotes] -exportPath [full path in quotes without 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!
source share