在Xcode 4.5中,“显示实时发布"不再起作用 [英] In Xcode 4.5 "Show Live Issues" no longer works

查看:86
本文介绍了在Xcode 4.5中,“显示实时发布"不再起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我发现Xcode在编写代码时显示编译器警告非常有用.例如:如果我写了"ldksjfksdj",我希望立即看到一个红色的感叹号图标和警告use of undeclared identifier.但是现在使用Xcode 4.5,我在编译项目后才看到该警告.然后,在我编译它之后,看到错误,然后删除"ldksjfksdj",该警告不会像以前那样立即消失.只有重新编译后,它才会消失.这是非常烦人的,并且无济于事.有没有人有办法解决吗?

I found it to be very useful that Xcode would show compiler warnings as I wrote code. For instance: if I wrote "ldksjfksdj" I'd expect to immediately see a red exclamation mark icon and the warning, use of undeclared identifier. But now with Xcode 4.5 I only see that warning after I compile the project. And then, after I've compiled it, see the error, and delete "ldksjfksdj", the warning doesn't disappear immediately the way it used to. It will only disappear after I compile it again. This is profoundly annoying and not helpful. Does anyone have a solution?

推荐答案

在构建"选项卡的文件">项目设置"下,有一个显示源代码的实时问题"选项.还有仅显示活动方案的问题"和显示所有问题"的选项.应将显示源代码的实时问题"设置为启用.这些是项目级别的实时发布设置.

Under File > Project Settings in the Build tab, there is an option for 'Show live issues for source code'. There are also options for 'Show issues for active scheme only' and 'Show all issues'. 'Show live issues for source code' should be set to enabled. These are the live issues settings at the project level.

希望能解决您的问题.

这篇关于在Xcode 4.5中,“显示实时发布"不再起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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