Xcode8 - building after a purge-build-folder yields bizarre errors

Originator:markd
Number:rdar://27163184 Date Originated:7/4/2016
Status:Open Resolved:
Product:Developer Tools Product Version:Version 8.0 beta (8S128d)
Classification:Ui/Usability Reproducible:sometimes
 
Summary:
I often clean my build folder (option-click on the menu item) to get Xcode's head back in to a good place.

Every now and then I get bizarre errors.

video showing the problem is attached
The project in question is attached.  This follows close on the heels of rdar://27163150 , trying to figure out ways of getting it to work.
also attached is a screen shot of the errors from the log.

Steps to Reproduce:
1. purge build folder
2. rebuild with new clean slate

Expected Results:
3. build happens normally

Actual Results:
3. bizarre errors.



Version:
Version 8.0 beta (8S128d)
10.11.4 (15E65)


Notes:
It's really not that big a deal - just ignore new build errors and try rebuilding again , but
when it happens day-in, day-out, it's just another heavy-sigh
death-of-a-thousand-cuts that makes using Xcode unpleasant.


Configuration:


Attachments:
'ObjCInterop.zip', 'Screen Shot 2016-07-04 at 5.53.01 PM.png' and 'bizarro-world.mp4' were successfully uploaded.

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!