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.