I select usdz file and add reference node with file url.
let scene = SCNScene()
let refNode = SCNReferenceNode(url: usdzPath)
refNode?.position = SCNVector3(0, -0.1, -0.25)
refNode?.load()
refNode?.scale = SCNVector3(0.01, 0.01, 0.01)
scene.rootNode.addChildNode(refNode!)
sceneView.scene = scene
sceneView.delegate = self
sceneView.autoenablesDefaultLighting = true
sceneView!.allowsCameraControl = true
Its works for me. I show the 3D object.
But i want to change usdz file texture in swift. how can i it?