Post

Replies

Boosts

Views

Activity

Reply to High battery drain using Xcode 13
Same problem with 2019 MBP running Monterey and Xcode 13.2.2. I have used Xcode for over 10 years, and I have never ever seen anything like this. My computer actually died while being plugged in because battery got drained and power cable was not feeding enough power?! WTF? Activity Monitors Battery Tab reports Xcodes service XCBBuildService being responsible for the majority of the drain. I’m using Swift Composable Architecture (TCA) resulting in many many local SPM Packages. This is the only change I’ve done recently, which went from everything OK (using Xcode without TCA code base) to battery draining in a matter or minutes it feels like. It is not only that battery drains fast, it is also that computer is CRAZY slow. CPU usage for Xcode is 240% or something (whatever that means, how can it be larger than 100%?)z I will try Xcode 13.3 beta and see if there are any improvements…
Mar ’22