If you're using a developer account on only one Mac, you can get away with clicking "Fix issues" and letting XCode do hacky patch-ups to get things sorted.
Otherwise, you need to properly sort your certs out.
Otherwise, you need to properly sort your certs out.
How to sort it out, the slash and burn way:
- From now on, stop using the "Fix issue" buttons and inform everyone on the team likewise - a single "Fix issues" can break everything if it resets the certs.
- Clear Keychain of old dev account keys on all Macs
- Open Keychain Access
- In top left sidebar, login
- In bottom left sidebar, Keys
- Find keys relating to dev account - these are based on the original certificate request naming, so it could be anything! There'll be a private key and an associated certificate, and possibly a public key. Likely a set of these for both Development and Distribution. Delete these.
- Open https://developer.apple.com/account/ios/certificate/ and revoke all certificates
- Generate certificate requests for both Development and Distribution on one Mac (this one will be the only one with public keys, from what I've found)
- Open Keychain Access
- Go to Keychain Access > Certificate Assistant > Request Certificate from a Certificate Authority
- Fill in email address
- Fill in Common Name with something like "{dev account email} - {distribution/development}"
- Select Save to disk instead of "Emailed to the CA"
- Create new certificates via https://developer.apple.com/account/ios/certificate/ for both Development & Distribution, following the fairly self-explanatory wizard. Download and double-click on the "master" Mac so that they're saved via Keychain Access.
- Export the private key/certificate pairs
- Open Keychain Access
- In top left sidebar, select login
- In bottom left sidebar, Keys
- Find the keys, export with some one-time use password
- Import the private key/certificate pairs onto the rest of the Macs
- Get key files onto rest of Macs, double-click in Finder and save via Keychain Access
- Create required provisioning profiles via https://developer.apple.com/account/ios
- Set up dev accounts on all Macs
- XCode > Preferences > Accounts
- Add account, log in via credentials
- Select the Agent user, view details
- Download All - this not only does provisioning profiles, but seems to fix something up with the signing identities
ReplyDeleteiOS APP Development Services provider company DevRabbit is appreciating your writing efforts. Good article on iOS Development Signing identities in a tangle.
love this blog !
ReplyDeleteCheshire,CT IOS Application development
Yet, the clients will in any case have alternative to impart their screens to different clients. dig this
ReplyDelete