Warning is not displayed in Xcode Issue Navigator

2019-04-19 22:33发布

My project builds with a warning, but it is not displayed in the "Issue Navigator". How can I get to this warning so I can resolve it? I've tried clicking on the warning on the top of the window but that does nothing. I'm using Xcode 4.3.

enter image description here

7条回答
ら.Afraid
2楼-- · 2019-04-19 23:05

I fixed this by going into Xcode -> Preferences -> Locations and changing the location of derived data to Default. (Not sure how it became undefaulted)

查看更多
劫难
3楼-- · 2019-04-19 23:09

I had the same issue and for me it helped to go to Xcode->Preferences->Locations and delete everything in folders of Derived data, Snapshots, Archives. Clean project, build, and warnings and errors was back in Issue navigator.

查看更多
聊天终结者
4楼-- · 2019-04-19 23:12

Sadly for me, in XCode 7.2 the correct answer was to quit XCode and restart it. Ugh.

查看更多
迷人小祖宗
5楼-- · 2019-04-19 23:13

I met the same problem, and I found it simply because there are some thing wrong with the below filter input. You can solve the problem by typing something in the below filter input and then clear it.

查看更多
霸刀☆藐视天下
6楼-- · 2019-04-19 23:15

Building on Yingpei Zeng's answer, the buttons on the bottom right of the 'grey' panel with the 'No Filter Results' message act as toggle switches to apply or remove filters. They are the buttons in this figure here on the bottom left (the clock and the two to the right of it):

enter image description here

Unfortunately, the buttons do not change much when toggled so you may miss that one has been accidentally hit...

查看更多
干净又极端
7楼-- · 2019-04-19 23:17

Similar to Kirby Todd for me it worked to clear the contents of the derived data folder (you can find the path as Kirby said by going to Xcode -> Preferences -> Locations)

查看更多
登录 后发表回答