IOS compiles normally, but cannot run to the real machine and the emulator, Choose a destination with a supported architecture in order to run the this device.

Source: Internet
Author: User

In this case, the first thing we try is to restart Xcode, which sometimes works when it doesn't work. Here are a few methods:

A: Maybe valid architectures support ARMV7, or armv7s, you have to try to change this:

Two: (This has not been tried, on-line search, the specific situation needs a person to try)

1. Close the Xcode

2. Delete the application from device

3. Restart the device

4, then re-run the application

Third: Check that the product name is consistent with the project name (this can be inconsistent), focusing on whether there are spaces or other illegal characters

Four: Open terminal

Use the above command to jump to the directory below and clear all cached data inside:

IOS compiles normally, but cannot run to the real machine and the emulator, Choose a destination with a supported architecture in order to run the this device.

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.