I have a project which when I attempt to build with XCode 16 RC fails with the message "XCBBuildService quit unexpectedly".
This occurs 100% of the time, thus I am unable to build the project. It first occurred in Xcode 16 beta 1 and has been present ever since, ever present in every beta; and now as its still present in the RC its highly unlikely it'll be fixed when the RC release becomes the final release.
I submitted a ticket for this many weeks ago (FB14062261), but its not been looked at/updated.
This is a problem in the short term because my app needs updating to use some iOS 18 specific features, in the longer term, it won't be possible to submit the app to the App Store if it continues to only be buildable with Xcode 15.
As its impossible to build the app, I attempted to create a support ticket to get assistance. However I am unable to create a support ticket because the web page won't permit me to proceed raising a ticket unless there is a test Xcode project that recreates the issue.
However, the issue does not occur with small simple Xcode projects. The Xcode project which I cannot be build contains dozens of sources files, thousands of lines of code, and many dependences. I can't submit that as the text Xcode project as its larger than that stated minimum requirements to attach to a support ticket.
So how can I proceed, I can't build the app, I've raised a feedback ticket which hasn't been looked at, and when I attempt to raise a support ticket, the website won't let me proceed and create one. What can I do to get a support ticket created?
What Xcode outputs:
Process: XCBBuildService [9024]
Path: /Applications/Xcode.app/Contents/SharedFrameworks/XCBuild.framework/Versions/A/PlugIns/XCBBuildService.bundle/Contents/MacOS/XCBBuildService
Identifier: com.apple.dt.XCBBuildService
Version: 1.0 (23000.1.226)
Build Info: XCBuild-23000001226000000~13 (16A242)
Code Type: ARM-64 (Native)
Parent Process: Xcode [8990]
Responsible: Xcode [8990]
User ID: 504
Date/Time: 2024-09-09 14:03:16.8948 -0700
OS Version: macOS 14.6.1 (23G93)
Report Version: 12
Anonymous UUID: EB8CED5F-F888-D71F-3893-33504A2FE3FD
Time Awake Since Boot: 1800 seconds
System Integrity Protection: enabled
Crashed Thread: 13
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Termination Reason: Namespace SIGNAL, Code 6 Abort trap: 6
Terminating Process: XCBBuildService [9024]
Application Specific Information:
abort() called
Kernel Triage:
VM - (arg = 0x3) mach_vm_allocate_kernel failed within call to vm_map_enter
VM - (arg = 0x3) mach_vm_allocate_kernel failed within call to vm_map_enter
VM - (arg = 0x3) mach_vm_allocate_kernel failed within call to vm_map_enter
VM - (arg = 0x3) mach_vm_allocate_kernel failed within call to vm_map_enter
Thread 0:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x1871fcdf4 mach_msg2_trap + 8
1 libsystem_kernel.dylib 0x18720f5e4 mach_msg2_internal + 80
2 libsystem_kernel.dylib 0x1872059c4 mach_msg_overwrite + 476
3 libsystem_kernel.dylib 0x1871fd178 mach_msg + 24
4 CoreFoundation 0x18731d680 __CFRunLoopServiceMachPort + 160
5 CoreFoundation 0x18731bf44 __CFRunLoopRun + 1208
6 CoreFoundation 0x18731b434 CFRunLoopRunSpecific + 608
7 CoreFoundation 0x18739945c CFRunLoopRun + 64
8 libswift_Concurrency.dylib 0x24eabd4e0 swift_task_asyncMainDrainQueueImpl() + 40
9 libswift_Concurrency.dylib 0x24eabd4a0 swift_task_asyncMainDrainQueue + 92
10 XCBBuildService 0x1043b392c main + 84
11 dyld 0x186eb3154 start + 2476
Thread 1:
0 libsystem_kernel.dylib 0x1871fd9b4 read + 8
1 XCBServiceCore 0x104c34688 closure #3 in ServiceHostConnection.resume() + 624
2 XCBServiceCore 0x104c326ed partial apply for closure #1 in Service.registerMessageHandler<A>(_:) + 1
3 XCBServiceCore 0x104c32a55 closure #1 in closure #1 in OS_dispatch_queue.async(group:qos:flags:execute:) + 1
4 XCBServiceCore 0x104c32a55 closure #1 in closure #1 in OS_dispatch_queue.async(group:qos:flags:execute:) + 1
5 XCBServiceCore 0x104c35c21 $sxIeAgHr_xs5Error_pIegHrzo_s8SendableRzs5NeverORs_r0_lTRyt_Tg5TQ0_ + 1
6 XCBServiceCore 0x104c326ed partial apply for closure #1 in Service.registerMessageHandler<A>(_:) + 1
7 libswift_Concurrency.dylib 0x24eabe0f9 completeTaskWithClosure(swift::AsyncContext*, swift::SwiftError*) + 1
Thread 2:: llb_buildsystem_build
0 libsystem_kernel.dylib 0x1872005ec __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x18723e55c _pthread_cond_wait + 1228
2 libc++.1.dylib 0x187163b14 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
3 llbuild 0x10531730c (anonymous namespace)::BuildEngineImpl::executeTasks(llbuild::core::KeyType const&) + 4552
4 llbuild 0x105314390 llbuild::core::BuildEngine::build(llbuild::core::KeyType const&) + 580
5 llbuild 0x10532da38 (anonymous namespace)::BuildSystemImpl::build(llbuild::buildsystem::BuildKey) + 208
6 llbuild 0x10532dc14 llbuild::buildsystem::BuildSystem::build(llvm::StringRef) + 260
7 llbuild 0x1053203f4 llbuild::buildsystem::BuildSystemFrontend::build(llvm::StringRef) + 56
8 llbuild 0x1052a6d8c 0x10528c000 + 109964
9 XCBBuildSystem 0x104d8ad1c partial apply for closure #13 in BuildOperation.build() + 28
10 libswift_Concurrency.dylib 0x24ea89a4c TaskLocal.withValue<A>(_:operation:file:line:) + 304
11 XCBUtil 0x1048d8864 closure #1 in closure #1 in static Task<>.detachNewThread(name:_:) + 296
12 XCBUtil 0x1048854ec thunk for @escaping @callee_guaranteed @Sendable () -> () + 28
13 Foundation 0x188bc2e1c __NSThread__block_start__ + 76
14 libsystem_pthread.dylib 0x18723df94 _pthread_start + 136
15 libsystem_pthread.dylib 0x187238d34 thread_start + 8
<snip>