XCBLoggingBuildService
is an Xcode's XCBBuildService
executable that logs the messages sent between Xcode and the service.
This is useful to debug issues with the build service.
- Clone the repository:
git clone https://github.com/tuist/XCBLoggingBuildService
. - Build the project:
swift build
. - Use the service:
- With xcodebuild:
XCBBUILDSERVICE_PATH=$(pwd)/.build/debug/XCBLoggingBuildService xcodebuild ...
- With Xcode:
env XCBBUILDSERVICE_PATH=$(pwd)/.build/debug/XCBLoggingBuildService /Applications/Xcode.app/Contents/MacOS/Xcode
- The logs are persisted in
/tmp/XCBLoggingBuildService.log
. You can usetail -f /tmp/XCBLoggingBuildService.log
in a different terminal session to see the logs in real-time.