IOS real machine test Code Sign Error: Provisioning Profile can't be foun

Source: Internet
Author: User

Copy a program from a colleague and install the certificate (that is, the file with the extension. p12) and the Provisioning Profile file of devices (that is, the file with the extension. mobileprovision ). As a result, the following error still occurs when the real machine runs:

Solution:

Code Sign Error: Provisioning Profile can't be found.

In the project folder, find the project file and right-click *. the xcodeproj file displays the package content and uses "text editing" to open the project. search for the pbxproj file, such as PROVISIONING_PROFILE = "XXXXXXXXXXX", delete "XXXXXXXXXXX", and fill in the profile serial number on your computer. The correct serial number can be found in the following method:

1. Double-click to run and install the Provisioning Profile file. Under XCode's Organizer, find the Device option on the central tab and click it to view the installed profile. For example:

2. Right-click the desired profile and select reveal profile in finder. All your profile files are listed in the finder. The file name is what you need. For example

Run the program again. Everything is done!

Related Article

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.