From the Xcode3 era accustomed to manual selection of certificates, that is, Provisioning profile and Code Signing Identify.
And as the team expands, the number of applications, the need to manage more and more certificates, each time from the long list to find the required certificate, the mood is a bit sad.
And Apple also gives a more appropriate solution, Xcode automatically chooses provisioning profile. The benefit of this scenario is that there is no need to re-set the certificate information in cases where the certificate is replaced, the team uses the certificate differently, and so on.
Take the iOS project as an example, with the following core steps:
1, Project--Build Settings,
Provisioning profile selects all Automatic,
Code Signing Identify Select all IOS Developer
2, Target, General, Team set to None
3, Target---Build Settings,
Provisioning profile selects all Automatic,
Code Signing Identify Select all IOS Developer
4.Target, General,
Team re-set to your group
Done!
Q1. Here is a question, that is, the certificate is all checked for iOS Developer, submit itunesconnect how to do?
A. Use Xcode's archive, and then submit the Itunesconnect using Xcode. Xcode will re-sign the installation package
Q2. What happens after reinstalling the certificate?
A.xcode will automatically re-select the appropriate certificate
Q3. Do I need to reset the bundle ID after I change it?
A. Replacing the bundle Id,xcode will still automatically select the appropriate certificate
Q4. Have special needs, need to pack distribution but not submit itunesconnect, how to do?
A. For special cases, manually select the following Target's certificate. Set it back when you're done packing.
Q5. Are there sequential requirements for the above steps?
A. According to Apple's official documentation, the team must be set to none before resetting the certificate and set as the team after the certificate has been reset. Note:it ' s just as important to set Target > General > Team to None before reverting all the code signing build sett Ings to their defaults, as it was to set it back to the value of the your team afterwards.
Xcode automatically selects certificates