First of all, thank you for the project.
I wanted to test it out, but i had to install swiftformat since you use it, but you did not mention that.
Second, meshWithClassification works only on iPhones and iPads that have LiDAR. It will crash on unsupported devices.
A simple
guard ARWorldTrackingConfiguration.supportsSceneReconstruction(.meshWithClassification) else { print("meshWithClassification isn't supported here.") return }
in viewWillAppear would do the trick and prevent the app from crashing on unsupported devices :)
First of all, thank you for the project. I wanted to test it out, but i had to install swiftformat since you use it, but you did not mention that. Second, meshWithClassification works only on iPhones and iPads that have LiDAR. It will crash on unsupported devices. A simple
guard ARWorldTrackingConfiguration.supportsSceneReconstruction(.meshWithClassification) else { print("meshWithClassification isn't supported here.") return }
in viewWillAppear would do the trick and prevent the app from crashing on unsupported devices :)