在Xcode中调试/运行停止工作。可执行文件设置错误,无法修复 [英] Debug/Run in Xcode stopped working. Executable settings are wrong and can't be fixed too

查看:257
本文介绍了在Xcode中调试/运行停止工作。可执行文件设置错误,无法修复的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚有一个奇怪的问题出现在我的XCode项目。这个项目是我一直在工作4年以上。只是今天,当试图开始调试,调试视图打开,控制台说[会话开始在2010-10-03 14:04:35 -0600。]但没有其他发生。

I've just had a strange problem show up with my XCode project. The project is one that I've been working on for 4+ years. Just today, when try to start debugging, the debugging view opens and the console says "[Session started at 2010-10-03 14:04:35 -0600.]" but nothing else happens.

似乎可执行文件被拧了。如果我打开可执行文件(我在项目中只有一个)设置窗口,在常规选项卡,使用任何标准输入/输出下拉说无值并且在菜单中没有其他选项。在调试选项卡上,我看到当使用任何,但下拉菜单为完全空,再次下拉为使用任何标准输入/输出说没有价值没有其他选项。还有趣的是,启动调试器后启动可执行文件选项未选中。但是,检查它不坚持。

It seems that the executable is screwed up. If I open up the executable's (I've only got one in the project) settings window, in the General tab, the drop down for "Use whatever for standard input/output" says "No Value" and there are no other options in the menu. On the debugging tab I see "When using whatever" but the drop down menu for that is completely empty, and again the drop down for "Use whatever for standard input/output" says "No Value" with no other options. Also interestingly, the "Start executable after starting debugger" option is unchecked. However, checking it doesn't stick. If you close the Executable Info window, then reopen it, the setting has reverted to off.

我尝试创建一个新的可执行文件,但同样的事情发生了。关闭项目/重新打开它并重新启动Xcode也没有效果。

I've tried creating a new executable, but the same thing happens. Closing the project/reopening it and restarting Xcode also have no effect.

我注意到有相同问题的人张贴在Xcode邮件列表,但他们没有真正的答案: http://www.cocoabuilder.com/archive/xcode/263804-debug-run-executable-does-nothing.html?q=%22no+value%22+standard+input#263804

I noticed that someone with the same problem posted on the Xcode mailing list, but they got no real answer: http://www.cocoabuilder.com/archive/xcode/263804-debug-run-executable-does-nothing.html?q=%22no+value%22+standard+input#263804 .

任何想法?

推荐答案

?新创建的项目是否也以同样的方式行事?你有备份(或版本控制),如果是,将项目恢复到以前的状态也是一样的行为?如果是任何,您可以尝试重新安装Xcode工具。

Have you installed anything lately? Do newly-created projects misbehave in the same way? Do you have backups (or version control) and, if so, does restoring the project to a former state also behave the same way? If yes to any, you might try reinstalling Xcode Tools.

这篇关于在Xcode中调试/运行停止工作。可执行文件设置错误,无法修复的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆