I am having resource issues when building a project too. swig-frontend and sourceKitControl grown in the 10s of GBs. I found some methods in my application which are harmless but cause the memory to balloon. e.g. 2 .onReceive() methods back to back in SwiftUI. At the moment the best I can recommend is to occasionally restart, kill the processes and try commenting out any newly add code that may be contributing...
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: