Xcode Cannot Run on the Selected Destination

Viewed 64508

I was running my app this morning and now all of a sudden I am getting the following error when I try to run on the iPhone 5.1 simulator.

Cannot run on the selected destination

The destination does not support the architecture for which the selected software is built. Switch to a destination that supports that architecture in order to run the selected software.

I deleted the schemes but still no solution.

I am using Mountain Lion. I am using xCode 4.4 (Recently upgraded to Mountain Lion and xCode 4.4)

UPDATE 1: Here is the view of my build settings:

enter image description here

UPDATE: Here is the actual error which prevents from it running.

enter image description here

37 Answers

i have this problem and apply different solution but it is of no use, so i find the solution of this problem,Perform these steps

1- add architecture in build setting armv6 2- just make validate setting 3- clean code 4- build and run

cheers

Worked for me.

  1. Drag your repo to the trash and then re-clone it.
  2. delete your app on your device.
  3. re-attach and run. It should work.
  4. Find a punching bag to alleviate your frustration and resist the urge to commit a serious crime.

change supported platform -> debug to : IOS enter image description here

Related