-3

Possible Duplicate:
xCode Cannot Run on the Selected Destination

I got strange issue that while I am running my project I got a popup warning Cannot run on the selected destination like this below image:

enter image description here

I am trying to set my Architectures from Build Settings like:

enter image description here

But I can not fix it.

Please guide me how to solve this strange issue.

Community
  • 1
  • 1
Nitin Gohel
  • 49,482
  • 17
  • 105
  • 144
  • yes i just update my xcode version with ios6 and got this issue :( – Nitin Gohel Nov 05 '12 at 06:48
  • Try to clean up your Xcode. Close it down completely, go to ~/Library/Developer/Xcode/DerivedData and delete everything in the folder of DerivedData. Start up Xcode again, do a clean build. You may also want to reset your simulator if you are running on that. Then, run your project. Good luck! – yeesterbunny Nov 05 '12 at 06:53

1 Answers1

1

Xcode 4.5 dropped support for armv6 binaries, it can only generate armv7 and armv7s binaries, so make sure that you are trying to run your App on an armv7 device (ie everything >= iPhone 3GS)

JustSid
  • 25,168
  • 7
  • 79
  • 97