In Xcode 4.5 “Show Live Issues” no longer works

早过忘川 提交于 2019-12-11 03:43:06

问题


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?


回答1:


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.

Hope that solves your problem.



来源:https://stackoverflow.com/questions/13536630/in-xcode-4-5-show-live-issues-no-longer-works

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