Texture in 3D model generated by SceneKit

I'm trying to create an app similar to PolyCam using Lidar . I'm using SceneKit mesh reconstruction and able to apply some random textures. But need real-world textures in generated output 3D Model. Found few examples available which are related to MetalKit and Point Cloud, which was not helpful.

Can you help me out with any references/steps/tutorial to how to achieve it .