I've been trying for a half hour, I keep getting "An error occurred while downloading the selected updates. Please check your internet connection and try again."
I found this in the Console but am not sure if it is relevant:
"The volume can not be used because it is not snapshot booted."
Post
Replies
Boosts
Views
Activity
Same error here, on a 2019 16" MBP
This was automatically generated by Xcode 12.1 (no code was changed from the default template):
import SwiftUI
import RealityKit
struct ContentView : View {
var body: some View {
return ARViewContainer().edgesIgnoringSafeArea(.all)
}
}
struct ARViewContainer: UIViewRepresentable {
func makeUIView(context: Context) -> ARView {
let arView = ARView(frame: .zero)
// Load the "Box" scene from the "Experience" Reality File
let boxAnchor = try! Experience.loadBox()
// Add the box anchor to the scene
arView.scene.anchors.append(boxAnchor)
return arView
}
func updateUIView(_ uiView: ARView, context: Context) {}
}
#if DEBUG
struct ContentView_Previews : PreviewProvider {
static var previews: some View {
ContentView()
}
}
#endif
I have the App Store downloaded Xcode, not the version from the Developer downloads section.
I have a screenshot that shows what it looks like on my device, but I apologize, I'm not sure how to link to imgur on the Developer Forums.
gchiste - thank you! This resolved my issue. I think I need to learn more about why this was the design decision for a new AR project from the template.