For the full demo project, you can find it on GitHub. Bool) {super. run (configuration)} override func viewDidAppear (_ animated: Bool) {super. You need OcclusionMaterial. To use ARKit, the app needs to request access to use the device's camera. Now supports Xcode 12, Swift 5.3 and iOS 14. I need to bake a texture with one iteration. .