Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode Cannot Run on the Selected Destination

Tags:

xcode

ios

You might follow the steps:

  • Quit Xcode and iPhone simulator
  • Unplug your devices
  • Goto /Users/your_usr_name/Library/Developer/Xcode/DerivedData/
  • Delete all data under this folder
  • Start Xcode again and run your project

Hope this will solve your problem.


I had this issue after updating from Facebook SDK 3.1 to Facebook SDK 3.1.1. My fault, I guess.

Inside "resources" folder, now there is a totally useless but dangerous info.plist that, if imported, may break your project file. Don't know why they included it but I believe few of us made the same mistake recently.


I found this problem with the version of Xcode 4.4. And finally I solved it this way:

Find the "Info.plist" in your project, then unselect the target membership plus on the right side view of window, it works for me.


You might also want to check if the project uses a supported compiler in the project settingsthe option shown in blue