com.apple.dt.SKAgent still extremly high CPU consuming in Xcode

Hi,


we've got a mixed Swift/Objective C project here. And SourceKit is extremly high CPU consuming. I'm only finding people with the same problem in the Web and no solutions.


Anyone here got a solution in the meanwhile? Xcode 10.1 here.


Yours,

VB.

com.apple.dt.SKAgent is absolutely killing my MBPro 2017. It seems to go into over-drive wheneever a Storyboard is open.

Using XC10 now takes twice a long to do everything. The worst is when the editor completely freezes up, only way to unfreeze it is to reposition the text-cursor, then it highlights all of the text between the last and the new cursor positions and 'dumps' the keyboard buffer in the window. ***!

same thing with my Mac Book Pro 2017 and com.apple.dt.SKAgent, fans don't stop working and the computer crash rapidly with panic message. I'm starting to hate Mac.
You do not need to turn off this process. Otherwise, the autocomplete will not work in Xcode. But you can lower its priority with a command in the terminal.

$ sudo renice 20 `pgrep com.apple.dt.SKAgent`
i get the same problem when i add use_frameworks! in my podfile;

i solve it by the steps:
  1. make all the pod DEFINES_MODULE=>YES ,open CLANG_ENABLE_MODULES =>YES in main project;

  2. replace the <***/xx.h> to @import ***; in all my project.

3 evertyhing works fine faster even more.
com.apple.dt.SKAgent still extremly high CPU consuming in Xcode
 
 
Q