13

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

Pang
  • 9,564
  • 146
  • 81
  • 122
T.J.
  • 3,942
  • 2
  • 32
  • 40
  • 1
    Not sure, but "No Filer Results" indicates that this output is filtered somehow? – Rok Jarc Mar 23 '12 at 16:51
  • It is possible that Xcode has screwed up when it counted the number of warnings you had. I had this happen multiple times. If you can[t find the yellow warning, ignore it. – CodaFi Mar 23 '12 at 16:57
  • I went through the the build setting and switched on the compiler warnings for the different options to see if it would show up, but it turns out that those switches filter the warnings in such a way they they won't show up in the count at all if switched off so it must be something else. There must be some list or file I can look at to see this warning. – T.J. Mar 23 '12 at 20:51
  • I get the same XCODE 4 bug: After I began using XCODE4, for several days it showed red failures in the Warning tab of the left-hand nav pane ok; I'd click on them to go to the error. But all of a sudden, failures no longer displayed, just "No Filter Results". It is very hard to locate errors now. I restarted computer, no effect. – Doug Null Apr 27 '12 at 15:41
  • I got it fixed by just closing the Xcode window. There was another one behind it, and it shows the warnings tab ok. – Doug Null Apr 27 '12 at 15:48

7 Answers7

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.

Yingpei Zeng
  • 515
  • 8
  • 10
7

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...

Mick
  • 24,231
  • 1
  • 54
  • 120
4

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.

jano
  • 49
  • 5
2

I had the same issue with my test project. And no solution mentioned above works. Finally I figured it out because the target project I selected is not the "Test" project. I was running test of each individual test. And the scheme I selected at that time is non-test project scheme. After I select the scheme for Tests, then the error in test project shows.

Zhao
  • 904
  • 1
  • 11
  • 34
  • 1
    this is great, thanks & it led me to [this GitHub comment](https://github.com/CocoaPods/CocoaPods/issues/5299#issuecomment-235981319) by [Michael Kirk](https://github.com/michaelkirk) that enables all warnings to show in any scheme as long as you add the other schemes in your workspace as outlined by Michael (he's talking about pods, but you can add other projects too) – lukkea Aug 02 '16 at 17:11
  • 1
    @lukkea thanks for the github comment link, good to know. I just modified my scheme to include test project. Now I can know earlier if I break something in the test :) – Zhao Aug 02 '16 at 18:58
1

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

Kirby Todd
  • 11,254
  • 3
  • 32
  • 60
0

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)

Cedrick
  • 566
  • 3
  • 13
0

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

aardvarkk
  • 14,955
  • 7
  • 67
  • 96