如何在资产文件的ar资源上添加图像

How to add image on ar resource of asset file

我正在研究 arkit 的图像检测。当时我要在 ar 资源上添加图像时它给我这样的警告:

Warning: Unsupported Configuration: AR reference image "" must have non-zero, positive width.

将图片保存到assets中后,需要给出图片的名称、宽高和单位。你可以参考这个

Xcode Error: AR reference image must have non zero positive width