Xcode Cannot Run on the Selected Destination

后端 未结 30 2489
梦如初夏
梦如初夏 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:49

    in addition to deleting all the files in this directory Users/your_usr_name/Library/Developer/Xcode/DerivedData/

    i restarted my mac and it worked fine (restarting xcode and the simulator didn't cut it for me)

提交回复
热议问题