Xcode automatically selects certificates

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.