Run Destination Not Valid For Running Scheme Xcode

╄→尐↘猪︶ㄣ 提交于 2019-12-04 17:48:05

问题


Just downloaded Xcode and I am trying to run a simple C++ file to make sure everything works and whenever I try to run the .cpp file I am given this: "The run destination My Mac is not valid for Running the scheme 'Scheme_Name'.


回答1:


happened the same to me with a project I downloaded. In my case, the solution was to change the "Base SDK" to the latest OS X in the Build Settings.

To do so, click on the project name in the navigator on the left, then on Build Settings and in the main window you should look for Base SDK.

If Base SDK does not show, ensure that "All" is selected in the filter at the top of the page.



来源:https://stackoverflow.com/questions/33094641/run-destination-not-valid-for-running-scheme-xcode

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!