XCode 4 错误/警告当我单击它们时不会跳转到代码
嘿,这是 XCode 4 的一个小问题,让我很烦恼。当我单击左侧面板上的警告或编译错误时,我不会看到代码中的错误所在。这曾经在 XCode 3.x 中有效,但现在不再有效。
还有其他人看过这个吗?
Hey this is a small issue with XCode 4 that is annoying me. When i click on warnings or compile errors on the left hand panel, I am not taken to where the error is on the code. This used to work in XCode 3.x but no more.
Anyone else seen this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我找到了一种更有效的方法...
在左侧面板中,单击“显示日志导航器”,它的按钮看起来像一个对话框。现在下面将显示每个构建的日志。这就像旧的 Xcode,并且会显示错误/警告。当您双击错误时,它将打开文件到错误所在的行。
Ive found a way that works more often than not...
In the left hand panel, click on the "Show the log navigator", its the button which looks like a speech bubble. Now underneath will show the logs for every build. This is like the old Xcode, and will show errors/warnings. When you double click on the errors it will open the file to the line of the error.
我遇到了同样的问题,并通过将编译器从
LLVM GCC 4.2
切换到LLVM Version 2.0
来修复它。I had this same problem and fixed it by switching the compiler from
LLVM GCC 4.2
toLLVM Version 2.0
.