44 Replies
      Latest reply on Oct 2, 2018 10:07 PM by namio.sousa
      N4k1m Level 1 Level 1 (0 points)

        Hi,
        Every time I start Xcode and launch a playground (with only on line of code), it is extremely slow to be executed and 2 new daemons are started: homed (takes ~60% CPU usage) and diagnosticd (takes ~150% CPU usage). Killing diagnosticd does nothing, it is immediately restarted. But killing homed will kill diagnosticd too and they never restart after. After having killed homed I'm still able to run my playground.

         

        Steps to Reproduce:

        1. Open Xcode 9.3 (my version is 9E145)
        2. Create or open a playground (with only one line of code, if you want)
        3. If it is configured to run manually, run it
        4. during the phase "Launching simulator", daemons diagnosticd and homed are started -> high CPU usage that never stops

         

        What are these daemon supposed to do ? Is there a workaround to fix this issue without killing the deamon everytime I start XCode and run a playground ?

        Thanks,

        Xavier Mawet

         

        Edit: I'm not the only one to have this issue, there is a question that has been created recently in stackoverflow for the same issue: https://stackoverflow.com/questions/49591847/xcode-9-3-playground-diagnosticd

         

        Version/Build:

        Xcode: 9.3 (9E145)

        macOS High Sierra 10.13.4

         

        Configuration:

        Mac mini Mid 2011

        Processor 2,7 GHz Intel Core i7

        8GB RAM DDR3

        AMD Radeon HD 6630M 256MB

        SSD Sandisk Ultra 2 480GB