Developer Documentation Indexing does not end… resulting in Xcode CPU Usage high over long time.
Originator: | nnident | ||
Number: | rdar://FB16926964 | Date Originated: | 25.03.2025 |
Status: | Open | Resolved: | |
Product: | Xcode | Product Version: | Version 16.3 (16E140) |
Classification: | Reproducible: | yes |
Incorrect/Unexpected behavior, NO error message. mac macOS Version 15.3.2 (Build 24D81) After initiating via Shift/Command/0 the Developer Documentation Window, the indexing of v277 index structure is starting /Users/[name]/Library/Developer/Xcode/DocumentationCache/ but unfortunately not ending! Activity Monitor reports during hours high CPU (~80%) for Xcode process, but the indexing does not stop or end. After hours it is still around 146 MB instead of about 550 MB as in previous releases. Indexing starts with 11 or more threads, but suddenly it drops to 10 threads and seems stopping, still using cpu. WORKAROUND provided from Apple (in official Xcode 16.3 Release Notes) https://developer.apple.com/documentation/xcode-release-notes/xcode-16_3-release-notes#Developer-Documentation-Window Developer Documentation Window Known Issues Searching in the documentation viewer may start an indexing process which makes no progress. This may result in missing search results and increased CPU usage. (147380194) (FB16926964) Workaround: Disable documentation indexing by setting the following preference: defaults write com.apple.dt.Xcode IDEDocumentationSpotlightIndexDisable -bool YES
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at feedbackassistant.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!