XCBBuildService Crash on Xcode 16 beta4

Our project contains a large amount of OC code. When compiling with Xcode16 beta4, it crashes midway and reports the following error:

error: unexpected service error: The Xcode build system has crashed. Build again to continue.

Answered by DTS Engineer in 796947022

Those are beta builds, so please report any issues when using Xcode 16 beta. Don't forget to include the symbolized crash files, reproducible steps, and if possible, the project that is causing the issue. Once you open the bug report, please post the FB number here for my reference. If you have any questions about filing a bug report, take a look at Bug Reporting: How and Why?

I get the exact same thing, its been present from Beta1 to Beta4. It crashes all the time, therefore I am unable to build our app using Xcode 16. I filed a radar when beta 1 came out, but that's gone ignored.

I too am getting the Address size fault XCBBuildService on all Xcode 16 betas.

Those are beta builds, so please report any issues when using Xcode 16 beta. Don't forget to include the symbolized crash files, reproducible steps, and if possible, the project that is causing the issue. Once you open the bug report, please post the FB number here for my reference. If you have any questions about filing a bug report, take a look at Bug Reporting: How and Why?

I filed a radar just a second ago. It's number is FB14473814

Same issue. Haven't been able to build my app on any of the Xcode 16 betas

I got the same problem , and has post the error report

Showing Recent Errors Only unexpected service error: The Xcode build system has crashed. Build again to continue.

use macOS 18 beta6

Any solution to this problem? I use react native and since the update to beta I can't compile the project

Started having this issue today after Xcode automatically upgraded to 16. We're using React Native 0.74.5. XCBuildService rapidly eats up RAM (seen over 40GB used) until it crashes.

Downgraded to Xcode 15.4 + 15.4 Command Line Tools (via xcodereleases.com), and we're back in business.

Unbelievable, really, that Apple chose to release Xcode 16 when this issue has been reported multiple times:

https://forums.developer.apple.com/forums/thread/757008

Xcode auto updated today on sept 17 to version 16. All apps crash with XCBBuildService quit unexpectedly unexpected service error: The Xcode build system has crashed. Build again to continue.

I see various posts about this about beta. But having your prod release crash 100% of the time after you auto push to everyone seems "short sighted" to say the least.

Fix: https://xcodereleases.com/?scope=release hit "download" for 15.4 and turn off system settings>general>software update> and turn off auto updates for App Store and don't forget to do this after you get a new machine, like I did.

I am seeing this error too, since updating to XCode 16.
I also tried updating my MacOS to 15

We're also seeing this crash. We think it might be related to conditional compilation we have regarding #imports.

I'm also facing this issue.

I initially ran into a build error with "CocoaPods build of BoringSSL-GRPC fails in Xcode 16 option -G unsupported", but after upgrading necessary packages like firebase and its dependency BoringSSL-GRPC, or waiving this warning flag through a podfile installer rejection, I now fail to build with an unknown XCBBuildService Crash on Xcode 16.

I am unable to download an older version of XCode due to my MACOs preventing me with the warning "In order to use “Xcode”, you need to update to the latest version.

The version of Xcode installed on this Mac is not compatible with macOS Sequoia. Download the latest version for free from the App Store."

Any recommendation will help! Thanks apple developer community :)

XCBBuildService Crash on Xcode 16 beta4
 
 
Q