Code sign error: the identity 'iphone developer 'domainn' t match any valid certifica

Source: Internet
Author: User

1. build and run directly. SDK 2.0 cannot be found

Open the project and select projects from the menu. The bottom of the General tab is
Base SDK for all deployments (the default is iPhone device 2.0), changed to ios2.0

 

2. Build again, and the code sign error: the identity 'iphone developer 'doesn' t match any valid certificate/private key pair in the default key

This is because the default build selects a device. If it is changed to simulator, it can be compiled and run in the simulator.Change your build settings to Simulator

 

Check if you are building for device instead of simulator. Go to xcode menu 'project'-> 'set active sdk'Change from 'device' to 'simulator'

********************

I had the same issue with another apple sample app. The only way I cocould resolve it (in fact, the only way I cocould get the option of running in the simulator at all) wasChange fromDebugToRelease And back. The dropdown still showsBase SDK missingBut if you click it, the simulator options are there and it builds.

 

3. Go to menu-> Project-> edit project setting-> build. Find code signing section (you can type 'code' in the quick search) inCode signing identityAnd set the value'Don't code sign'

 

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.