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.

Answered by brandonK212 in 763471022

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.

Accepted Answer

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 @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.

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