Reputation: 6892
In the past we create a CSR file with Keychain Access then upload the file via the Apple Dev website. Now with the latest Xcode (4.6.1) it seems we're supposed to be able to request it via Xcode itself. I do not see that option anywhere! There's a "refresh" button in the organizer but it doesn't request the certificate for me even if mine is invalid..
Any tips?
Upvotes: 5
Views: 16936
Reputation: 890
Nowadays iOS App Development option is getting greyed out don't know why.
Even I had this situation and I solved it (made it enabled) using the following steps.
Remove the expired development certificates from Certificates/Development.
Revoke the unused development certificates.
Now click on the + button and you are free to select the
iOS App Development option.
Upvotes: 0
Reputation: 321
My development profile expired while the iOS dev subscription was still valid, so I ran into this same problem. Thanks to you all!
Here is what worked for me, after playing around with the certificates/profiles/etc for a while:
For other Google searchers benefit, the error message I got was "your team has no current iOS development certificates ... please wait a moment and refresh".
Upvotes: 0
Reputation: 106
You need to remove all your expired certs before you can request for a new cert.
Upvotes: 2
Reputation: 76
I had the same issue. It's not very clear but you need to remove the expired certificate first.
Upvotes: 6
Reputation: 5389
I don't think your understanding is correct. I have generated my CSR "by hand", and then I've downloaded the rest via XCode once uploaded on the portal.
I understand the XCode feature is useful for teams, since you have a team Provisioning profile, and a user certificate. It might also be the case for multi-Mac development (like when I'm on my MBA or my iMac, which requires importing the private key from one keychain to the other).
Edit: I'd love to help out more, but when running the "refresh", XCode crashed on me :-)
UNCAUGHT EXCEPTION (NSInvalidArgumentException): *** setObjectForKey: object cannot be nil (key: teamId)
UserInfo: (null)
Hints: None
Backtrace:
0 0x00007fff89ffcaee __exceptionPreprocess (in CoreFoundation)
1 0x00007fff8b3de3f0 objc_exception_throw (in libobjc.A.dylib)
2 0x00007fff8a08b5b7 -[__NSDictionaryM setObject:forKey:] (in CoreFoundation)
3 0x000000010acffd88 +[DTDKTeamBasedService _createRequestDictionaryForTeam:andPlatform:] (in DTDeviceKit)
Bizarre that it seems XCode tries to set the TeamId to null :/
Upvotes: 0
Reputation: 1045
You can still use your keychain to create the CSR, and then upload it on the new provisioning portal. Just did it the other day.
Upvotes: 0