WWDC 23 Object Capture 2023

When running the code from the object capture event from WWDC 23 event I'm currently getting the error "dyld[607]: Symbol not found: _$s21DeveloperToolsSupport15PreviewRegistryPAAE7previewAA0D0VvgZ Referenced from: <411AA023-A110-33EA-B026-D0103BAE08B6> /private/var/containers/Bundle/Application/9E9526BF-C163-420D-B6E0-2DC9E02B3F7E/ObjectCapture.app/ObjectCapture Expected in: <0BD6AC59-17BF-3B07-8C7F-6D9D25E0F3AD> /System/Library/Frameworks/DeveloperToolsSupport.framework/DeveloperToolsSupport"

Replies

Fixed the issue, within the content view comment out the preview and replace with the PreviewProvider extension "// // ContentView.swift // ObjectCapture // // Created by koreadeep32 on 2023/06/09. //

import SwiftUI import RealityKit

struct ContentView: View {

var body: some View {
    ObjectCapture()
}

}

// This is the part you comment out //#Preview { // ContentView() //}

// This is the part you add struct ContentView_Previews: PreviewProvider { static var previews: some View { ContentView() } }"