Xcode Cannot Run on the Selected Destination

后端 未结 30 2453
梦如初夏
梦如初夏 2020-12-02 18:22

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

30条回答
  •  遥遥无期
    2020-12-02 18:56

    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.

提交回复
热议问题