T.J.
T.J.

Reputation: 3960

Warning is not displayed in Xcode Issue Navigator

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

Upvotes: 14

Views: 6579

Answers (7)

aardvarkk
aardvarkk

Reputation: 15996

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

Upvotes: 0

Zhao
Zhao

Reputation: 924

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.

Upvotes: 2

Cedrick
Cedrick

Reputation: 566

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)

Upvotes: 0

jano
jano

Reputation: 49

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.

Upvotes: 4

Mick
Mick

Reputation: 25471

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

Upvotes: 8

Yingpei Zeng
Yingpei Zeng

Reputation: 525

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.

Upvotes: 14

Kirby Todd
Kirby Todd

Reputation: 11546

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

Upvotes: 1

Related Questions