This sample code for ObjectCapture API is working no more since latest beta https://developer.apple.com/documentation/RealityKit/guided-capture-sample
ObjectCapture API & Sample broken with iOS17 & Xcode beta 5
For me too - crashed with SIGABRT on launch, console output:
dyld[3234]: Symbol not found: _$s19_RealityKit_SwiftUI20ObjectCaptureSessionC7Combine010ObservableE0AAMc Referenced from: <294EDA13-E14C-3BFF-B705-8368778FF69F> /private/var/containers/Bundle/Application/255DCE73-DCDD-489F-8A6F-83DA8E04026C/GuidedCapture.app/GuidedCapture Expected in: <6A96F77C-1BEB-3925-B370-266184BF844F> /System/Library/Frameworks/_RealityKit_SwiftUI.framework/_RealityKit_SwiftUI