How can I see the full error or warning in Xcode?

2019-03-17 13:01发布

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?

标签: xcode xcode4
7条回答
时光不老,我们不散
2楼-- · 2019-03-17 13:02

#### Here's a very handy trick: ####

1) Look in the issue navigator

enter image description here

2) Go to: xCode preferences > General > "Issue Navigator Detail" > now boost the dropdown to 10 lines.

Now you can see the whole message in the issue navigator!

enter image description here

查看更多
疯言疯语
3楼-- · 2019-03-17 13:02

In Xcode 9.2 (at least), you can single click on the error / warning icon in the tooltip and it will expand.

查看更多
劫难
4楼-- · 2019-03-17 13:04

The easiest way to do it is right clicking the message in the "Issue Navigator" and choosing "Reveal in Log".

查看更多
神经病院院长
5楼-- · 2019-03-17 13:07

you can find, the warning/error list in the Warning tab section on the left

查看更多
戒情不戒烟
6楼-- · 2019-03-17 13:13

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

  • cmd+7
  • click on the top-most "Build $APP" section.
  • locate the warning or error
  • click the buttons on the right to see the full details of the step you are interested in

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

查看更多
我想做一个坏孩纸
7楼-- · 2019-03-17 13:25

I'm sure if you expand the left hand pane, it shows the full error. Ensure you are in the Warnings/Errors tab.

As far as I'm aware, this is the only way to do it.

查看更多
登录 后发表回答