"DVTAssertions: Warning" and loss of issues when touching project file

Originator:torarnv
Number:rdar://12133134 Date Originated:20-Aug-2012 02:44 PM
Status:Closed Resolved:
Product:XCode Product Version:4.4
Classification:Assert Reproducible:Always
 
20-Aug-2012 02:44 PM torarnv:
Summary:

Touching the Xcode project file (project.pbxproj) will clear all issues from the Issues Navigator, and will give the following in the console:

8/20/12 2:34:55.034 PM Xcode[64694]:  DVTAssertions: Warning in /SourceCache/IDEFoundation/IDEFoundation-1865/Framework/Classes/Model/Buildables/IssueProvider/IDEBuildIssueProvider.m:310
Details:  Error loading log for target "Test7": (null)
Object:   <IDEBuildIssueProvider: 0x4029ac600>
Method:   -_blueprintsDidChange
Thread:   <NSThread: 0x410395600>{name = (null), num = 2089}
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.


One scenario where this can happen is when using version control and checking out an updated version of the Xcode project. You'd expect to not lose build issues in the Issues Navigator.

Steps to Reproduce:

1. Create a new project (any project really)
2. Change a source file to introduce a build error (remove a semi colon eg)
3. Build
4. Observe issue in Issue Navigator
5. Touch file from the shell

Expected Results:

Project file is reloaded without loss of information (issues)

Actual Results:

Project file is reloaded, and in the process asserts in /SourceCache/IDEFoundation/IDEFoundation-1865/Framework/Classes/Model/Buildables/IssueProvider/IDEBuildIssueProvider.m:310, which seems to result in losing all issues (warnings and errors).

Comments

Fixed as of July 31 2014, 6:22 PM


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!