Xcode's eternal "Indexing | Processing files" is sucking the life out of my MacBook Pro

Originator:avedesk
Number:rdar://33246188 Date Originated:11-Jul-2017 11:12 PM
Status:Open Resolved:
Product:Developer Tools Product Version:Version 8.3.3 (8E3004b)
Classification:Performance Reproducible:Always
 
Summary:
We have a moderately large Objective-C Xcode workspace with 2 projects depending on each other. Very often, Xcode seem to hang in "Indexing | Processing files" and takes 200% CPU for 24h straight on. This reduces battery life from 8 to 2 hours :-(

Clearing Derived Data does not seem to help

Regression:


Notes:
Provide additional information, such as references to related problems, workarounds and relevant attachments.

Steps to Reproduce:
1. Use Xcode with a large Objective-C project

Expected Results:
1. Indexing stops after a while; Xcode does not turn the MacBook into a CPU cycle burning device

Actual Results:
1. "Indexing | Processing files" runs on forever
2. Xcode using 200% CPU for 24h straight on
3. Depleted battery within an hour or two

Version:
Version 8.3.3 (8E3004b)

Notes:
This happened occasionally in Xcode 7, but almost always in Xcode 8.  Apple Engineering closed said this issue was fixed and that I should file a new bug report if it still happens, so here I am. Please don't close mindlessly again.

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!