Spotlight process using 100% CPU

Originator:indiekiduk
Number:rdar://FB9493281 Date Originated:12/8/2021
Status:Open Resolved:No
Product:Xcode Simulator Product Version:13 beta 5
Classification:Bug Reproducible:Always
 
In Xcode 13 beta 5 (and earlier betas) when the Simulator is running, a Spotlight process is using 100% CPU causing significant battery drain.

Please see FB9335101 for more info.
Also this tweet:
https://twitter.com/pd959/status/1415706943579119619?s=20
And this forum post sharing a workaround:
https://developer.apple.com/forums/thread/683277

cd ~/Library/Developer/CoreSimulator/Devices 
find . -name com.apple.suggestions.plist -exec plutil -replace SuggestionsAppLibraryEnabled -bool NO {} ";" 

These commands resolved it for me.

Steps to reproduce:
Run Xcode 13 simulator, e.g. iPhone 12 mini.
Launch Activity Monitor, see the Spotlight process using 100% CPU.

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!