(Transfer) Those errors that Xcode often reports because of certificate problems

When I started to develop iOS last year, Xcode often reported one kind of error or another because of the certificate problem. After more than a year of practice, I have calmed down when I saw the error reported by Xcode.

1、


 

Confirm whether the certificate is a development certificate. If it is a release certificate, such a prompt will appear.

2、


 

The certificate is invalid, go to the developer center to regenerate one.

3、


 

The package identifier is not inconsistent with the package identifier contained in the description file. Just change it according to its prompt. It is better not to click Fix Issue. After clicking, Xcode will generate a description file containing the unified package identifier by itself, and Remove the generated description file. It will affect the cooperation of the whole team.

4、
process launch failed: timed out trying to launch app

Or the problem of the description file, the published description file or the hoc description file is used as the development description file. stackoverflow explanation

5、
This application's application-identifier entitlement does not match that of the installed application. These values must match for an upgrade to be allowed.

The app with the same package identifier has been installed on the iPhone, delete it and run it again.

6.
There is no picture and prompt of the error, let me describe the situation: that is to download a development certificate directly from the developer website, and then select the corresponding description file, but Xcode cannot select the downloaded development certificate, and then if Running will give an error. The reason is that the development certificate downloaded directly is not generated on your machine. What you should do at this time is to ask the classmate who generated the certificate to export you a development certificate of a p12 file, and the key of the certificate is also a p12 file. Or you can apply for a developer certificate and generate a description file.

Because of the problems often encountered in the certificate problem, I will write so many for the time being, and I will add more when I encounter other problems.



Text / Bixiao Wending (author of Jianshu)
Original link: http://www.jianshu.com/p/b10680a32d35
The copyright belongs to the author, please contact the author for authorization, and mark "author of Jianshu".

 

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326723823&siteId=291194637