如何在 Xcode 4 中重置警告 [英] How to reset warnings in Xcode 4

查看:32
本文介绍了如何在 Xcode 4 中重置警告的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法重置 Xcode 4 项目中的所有警告/错误?Xcode 4 向我显示错误和警告,例如未使用的变量 'pageType' 已在几周前被删除或 'XXXXViewController' 未声明(首次在此函数中使用) 仅用于测试目的,也已消失.

Is there a way to reset all warnings/errors in a Xcode 4 project? Xcode 4 shows me errors and warnings e.g. Unused variable 'pageType' which is has been removed weeks ago or 'XXXXViewController' undeclared (first use in this function) which was only for testing purposes and has also gone.

我找不到如何摆脱这些消息的任何选项!安迪小贴士?谢谢!

I can't find any options how to get rid of these messages! Andy tips? Thank you!

推荐答案

可能是时候删除项目的派生数据了.打开管理器,然后打开项目选项卡.选择您的项目,然后点击派生数据路径(右侧)旁边的删除按钮.确认并让它重新索引您的项目.

Probably time to remove the project's derived data. Open the organizer, then the Projects tab. Select your project then hit the delete button next to the derived data path (to the right). Confirm and let it re-index your project.

这篇关于如何在 Xcode 4 中重置警告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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