Xcode Issue Navigator lists issues which have been fixed or removed

Originator:kristopherdjohnson
Number:rdar://16125668 Date Originated:20-Feb-2014 05:14 PM
Status:Open Resolved:
Product:Developer Tools Product Version:5.0.2
Classification:UI/Usability Reproducible:Always
 
Summary:
When a build or test fails, the Issue Navigator displays a list of the issues. Most of the time, fixing the problem will make that issue disappear from the list, but sometimes the issue remains in the list even though building and/or testing completes with no error.

Quitting and reopening Xcode will sometimes make the phantom issues go away, but sometimes it is necessary to delete the projects' derived data.

Steps to Reproduce:
1. Create a new Xcode project with unit tests

2. Add a new unit test case class to the test project and run tests. The test will fail because the "testExample" method in the test case template has an XCTFail() call.

3. Change the name of "testExample" method to "testExample1" and remove the XCTFail() call.

4. Run tests again. This time, tests will succeed, but the Issue Navigator will still show an error message saying that the now-non-existent "testExample" failed.

Expected Results:
Issue should disappear from the Issue Navigator when resolved

Actual Results:
Issue remains in the Issue Navigator

Version:
Xcode 5.0.2/OS X 10.9.1

Notes:
The provided reproducibility steps are focused on unit tests, but similar problems can occur for build errors.

Configuration:


Attachments:

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!