Xcode 9, real-computer testing, APP installation failed

Source: Internet
Author: User

Real machine test: can build successfully, but Error app installation failed A valid provisioning profile for this executable is not found.

APP installation failed, this executable program does not have a valid second speed file. I clearly chose the description of the document, Ah, what the nerve.

Really is xcode to make a nerve, we really machine test, not like before the need to configure the udid of the phone, the description file needs Xcode automatically configure your phone information, this can be verified, in the developer center, after running the real machine, The name of your phone is in the Devices list in the developer center.

Therefore, this step is necessary for automatic configuration.

Development needs to be constantly tested, simulators, real machines, packaged for others to test.

Just run the program and make the next few

Premise:

Project--> APP NAME--general--building setting

Targects--> app NAME-to-general--building setting code signing identity settings, Debug Development certificate, Release release certificate, free APP LeID here is the automatic line.

1. Simulator

In general, the direct run simulator is available, it is better to

Target----signing set to Automatic, automacitcally manage signing tick on??

2. Real Machine

Target----signing set to Automatic, automacitcally manage signing tick on??

3, hit test package Archive

Target----signing set to automacitcally manage signing do not tick on

Which tick off automacitcally manage signing after the red, to manual bar provisioning profile selected, you re-download or install. Then building

If not, first completely out of Xcode, yes, the nerve to go back to the background to reflect on it, and then directly delete all the description file:

1. Open Finder

2, cmd + SHIFT + G

3. Paste a path ~/library/mobiledevice/provisioning\ profiles/to the search box

4. Delete all

5. Restart Xcode cmd + to open preferences

6. Accounts---check the required AppID--Download manual profiles

Build again.

Xcode 9, real-computer testing, APP installation failed

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.