Sample code Not compiling - iPadOS 17 beta 7/ Xcode 15 beta 7

Generic struct 'ObservedObject' requires that 'ObjectCaptureSession' conform to 'ObservableObject

Saw twitter posts that the Object capture is working in some groups. So how to handle these.

Accepted Reply

The sample code appears to have been updated (https://developer.apple.com/documentation/RealityKit/guided-capture-sample) and is now building successfully for me on iOS 17 Beta 8, through Xcode 15 Beta 8. I am able to successfully capture objects and create the models on-device.

  • Thanks it's working now. although some issues are there with the guided user flow to scan different sections.

Add a Comment

Replies

The sample code appears to have been updated (https://developer.apple.com/documentation/RealityKit/guided-capture-sample) and is now building successfully for me on iOS 17 Beta 8, through Xcode 15 Beta 8. I am able to successfully capture objects and create the models on-device.

  • Thanks it's working now. although some issues are there with the guided user flow to scan different sections.

Add a Comment

thanks @brandonK212 . I wish there would be a notification in place in case these samples get updated. Maybe good to file a feedback request for it.