Amazing video. You explained it very well and I will absolutely check out ARKit more in detail. Keep up the great work. 🔥
@peterplass94582 жыл бұрын
Hi, sorry I can't follow you concerning importing the assets. Where came it from? I created the folder separately. Copied into my project: I can build, but have nevertheless a lot of error messages: "Command Copy emitted errors but did not return a nonzero ..."
@azamsharp2 жыл бұрын
Create a separate project with Augmented Reality Xcode template. That project will automatically have assets. Drag and drop assets into your app. Done.
@peterplass94582 жыл бұрын
@@azamsharp That is exactly what I did, nevertheless error messages! Anyway thanks for sharing knowledge.😊
@RobertEvansII2 жыл бұрын
@@azamsharp 13.3 does not seem to have the assets and defaults to use Experience.
@bb48532 жыл бұрын
thank you so much, this video is a great help to a newbie like me !!
@noahduss5210 Жыл бұрын
Hi, amazing video by the way. But I have a problem: In this line ( let scene = SCNScene(named: "art.scnassets/dragon")!) the exclamation mark has a fatal error. (Thread 1: Fatal error: Unexpectedly found nil while unwrapping an Optional value). So the App won't work and the screen of my IPhone is black. Do you know how to solve this? This is the entire code: import SwiftUI import ARKit struct ARView: UIViewRepresentable { func makeUIView(context: Context) -> some UIView { let sceneView = ARSCNView() sceneView.showsStatistics = true let scene = SCNScene(named: "art.scnassets/dragon")! sceneView.scene = scene let configuration = ARWorldTrackingConfiguration() sceneView.session.run(configuration) return sceneView } func updateUIView(_ uiView: UIViewType, context: Context) { } } struct ContentView: View { var body: some View { ARView() } } struct ContentView_Previews: PreviewProvider { static var previews: some View { ContentView() } }
@onurural8985 Жыл бұрын
Where is the final output ?
@azamsharp Жыл бұрын
What do you mean?
@onurural8985 Жыл бұрын
The result when you run the code ? Application
@azamsharp Жыл бұрын
@@onurural8985 Run on your actual physical device.