Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Choose a destination with a supported architecture in order to run on this device [closed]

enter image description here

my Xcode is Version 4.4.1

The project worked perfect before updating to this newer version, but now it stopped working

like image 427
user1297301 Avatar asked Aug 24 '12 06:08

user1297301


People also ask

How do you add excluded architectures?

You can manually add the Excluded Architecture in your Pod project's Build Settings, but it will be overwritten when you use pod install . In place of this, you can add this snippet in your Podfile . It will write the necessary Build Settings every time you run pod install .

What is build active architecture only?

The "build active architecture only" setting causes everything except the current Mac's architecture to be ignored (and the current one is of course valid), hiding the problem. Instead, you should look up a row or two in the settings, and change the "Architectures" setting to "Standard".

What is build architecture in Xcode?

Xcode's default architecture build settings provide the recommended combinations of CPU architectures to ship your app to all supported devices on each of Apple's platforms. For an overview of each of these build settings, see the Build settings reference.

What is Valid_archs?

VALID_ARCHS (Valid Architectures) Space-separated list of identifiers. Specifies the architectures for which the binary may be built. During the build, this list is intersected with the value of ARCHS build setting; the resulting list specifies the architectures the binary can run on.


1 Answers

I have had the same issue when making multiple targets. My issue was that I had to change my Product Name under Packaging.

In each target project > Build Settings > Packaging -> Product Name

like image 186
M Jesse Avatar answered Sep 18 '22 21:09

M Jesse