Skip to contentBlack FridayTaskglass is $9 instead of $14Get the deal →

What is XCBBuildService / SWBBuildService on Mac?

By Junaid, maker of Taskglass · Last reviewed

Summarize this page with

Xcode's build system service, which plans and runs your project's builds.

XCBBuildService is the service that runs Xcode's build system; newer toolchains include SWBBuildService, from Apple's open-source Swift Build. It works out what needs to be compiled and launches the compilers and other tools. It's active while building or while Xcode prepares build information for indexing.

Category
Developer tools
Made by
Apple
Safe to quit:
With care

Shown in Activity Monitor as XCBBuildService, SWBBuildService

Why is XCBBuildService / SWBBuildService using so much CPU or memory?

  • Building a project, especially the first or a clean build
  • Large projects with many targets or packages
  • Xcode preparing build information for indexing

What to do

  1. 1Let the build finish
  2. 2Close other projects open in Xcode
  3. 3Quit and reopen Xcode if it stays busy after builds end
  4. 4Delete Derived Data if builds keep misbehaving

Safe to quit? With care.

Any build in progress fails; Xcode starts it again for the next build.

Is it genuine? How to check

Malware sometimes borrows the name of a real process. The real one runs from a fixed place and carries its maker's code signature, so check both.

XCBBuildService

Location
/Applications/Xcode.app/Contents/SharedFrameworks/XCBuild.framework/Versions/A/PlugIns/XCBBuildService.bundle/Contents/MacOS/XCBBuildService
Part of
Xcode
Signed by
Apple

Check the signature in Terminal:

codesign -dv --verbose=2 "/Applications/Xcode.app/Contents/SharedFrameworks/XCBuild.framework/Versions/A/PlugIns/XCBBuildService.bundle/Contents/MacOS/XCBBuildService"

The genuine file prints these lines:

Identifier=com.apple.dt.XCBBuildService
Authority=Software Signing
TeamIdentifier=59GAB85EFG

SWBBuildService

Location
/Applications/Xcode.app/Contents/SharedFrameworks/SwiftBuild.framework/Versions/A/PlugIns/SWBBuildService.bundle/Contents/MacOS/SWBBuildService
Part of
Xcode
Signed by
Apple

Check the signature in Terminal:

codesign -dv --verbose=2 "/Applications/Xcode.app/Contents/SharedFrameworks/SwiftBuild.framework/Versions/A/PlugIns/SWBBuildService.bundle/Contents/MacOS/SWBBuildService"

The genuine file prints these lines:

Identifier=com.apple.dt.SWBBuildService
Authority=Software Signing
TeamIdentifier=59GAB85EFG

To see where the running copy lives, run this in Terminal and compare the path:

ps -axo pid,user,comm | grep -F XCBBuildService

In Activity Monitor: select the process, click the Info button (ⓘ), then Open Files and Ports. The first line is the program's path.

Paths and signatures checked on macOS 27.0.1 (26A434), Apple M4, November 17, 2026. Other macOS versions can differ.

How to restart XCBBuildService / SWBBuildService

It is started by Xcode. Quit Xcode (⌘Q) and open it again, and it starts a fresh XCBBuildService.

Related processes

Part of the Taskglass Process Library · More Developer tools processes

See this process live in Taskglass.

Taskglass shows what XCBBuildService / SWBBuildService is doing on your Mac right now, groups it under the app that started it, and checks its code signature for you. It explains 224 processes this way.

See how Taskglass works →How it compares with Activity Monitor →