Selected device indicates unsupported architecture

I am trying to run an Objective-C application based on Xcode5 on Xcode6 beta (version 6.0 (6A215l)). When you try to create for any platform other than iPhone 5s, the following message appears:

Xcode cannot run using the selected device.

The selected device specifies an unsupported architecture.

It is not even obvious how to start troubleshoting this, since I cannot get to the point where the console is activated. Any pointers?

+7
xcode ios7 ios8 xcode6
source share
6 answers

I just did it myself.

I tried a few things (closing the simulator before starting, opening it, rebooting), but what seemed to fix it was just cleaning, assembling, and then starting

If itโ€™s not, then I have a couple of other things that I did, but I donโ€™t think they were responsible

+14
source share

I was getting the same problem when Xcode-> Targetets-> General-> Deployment-> Devices - iPad was selected. but I'm going to run this project on an iPhone. check your project.

+3
source share

I encountered this problem after changing the Executable file field on the Information tab of my target settings - changing this to the default value ${EXECUTABLE_NAME} , fixed it for me.

+2
source share

I was getting the same problem and no cleaning up solved it. I had to delete all Swift files from my project. Then I added them again, but did not deselect Add to Target in the add file dialog box. Finally, manually added them to the "Compilation of Sources" section of your "Phase Assembly" project. It did it for me. (Also, make sure that Swift files are not included in the Resources for Copy Resources section of the Build Phases section.)

0
source share
  • Close the simulator if it is open.
  • Press Command + shift + k (or clear the project by selecting the product menu item from the xcode menu), and then press Command + r (or run the project) ...
0
source share

Do you use a third-party thunder cable to connect your device?

Using a fancy Apple cable can sometimes solve this oddity.

-one
source share

All Articles