Xcode不支持USDZ文件格式

时间:2018-12-27 01:29:18

标签: xcode augmented-reality arkit usdz

我无法在Xcode中查看USDZ文件。我在AR Quick Look Gallery中下载了apple提供的一些模型,但是当我无法在Xcode中查看模型时(图像1)。 另外,我无法在Xcode中将usdz文件转换为ARScene(图片2)。 When I try to view the USDZ file on Xcode When I try to convert the USDZ file in Xcode project

2 个答案:

答案 0 :(得分:0)

似乎问题出在我的OS版本上。将Mac更新为Mojave之后,我可以预览USDZ文件,也可以在Xcode 10中将它们转换为SceneView。

答案 1 :(得分:0)

  

要在SceneKit的USDZ中使用全新的Scene graph文件格式,并通过xcrun命令使用命令行工具的转换,您需要 Xcode 10 Swift 4.2 (在macOS High Sierra或macOS Mojave上)要安装。