如何在 Xcode 中查看完整的错误或警告? [英] How can I see the full error or warning in Xcode?

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

问题描述

无论我制作多大的窗口,这都是我能看到的警告:

No matter how large I make the window, this is all I can see of warnings:

如何在警告出现的地方看到警告的全文?

How can I see the full text of the warning at the place it appears?

可以将鼠标悬停在左侧窗格中出现的警告上,等待足够长的时间后,会出现带有全文的工具提示,但我觉得这很尴尬......是只有这样吗?

I could hover the mouse over the warning as it appears in the left pane and, after waiting long enough, a tooltip appears with the full text, but I find this very awkward... Is this the only way?

推荐答案

Issue Navigator 是一个紧凑的表示.如果你真的想要所有细节,你可以查看构建成绩单:

The Issue Navigator is a compact representation. If you really want all the details, you can view the build transcript:

  • cmd+7
  • 点击最顶部的构建 $APP"部分.
  • 定位警告或错误
  • 单击右侧的按钮可查看您感兴趣的步骤的完整详细信息

双击消息将在编辑器中显示源位置.

Double clicking on a message will then reveal the source location in the editor.

这篇关于如何在 Xcode 中查看完整的错误或警告?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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