Xcode:无法加载 ModelIO.framework、SceneKit.framework 等 [英] Xcode: could not load ModelIO.framework, SceneKit.framework, etc

查看:25
本文介绍了Xcode:无法加载 ModelIO.framework、SceneKit.framework 等的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在更新到 macOS Mojave 之前,我的应用程序运行良好,没有错误,但是,我在更新后收到此错误.我已经谷歌搜索了 2 天,但似乎还没有人遇到过这个错误.注意:该应用确实按预期运行.3D模型文件为.scn格式.

Before updating to macOS Mojave my app ran fine without errors, however, I get this error after the update. I have been Googling for 2 days but it seems no one has run into this error yet. Note: The app does run as expected. The 3D model file is in the .scn format.

构建时间错误:

/scntool:-1: Could not load ModelIO.framework ((null))
/scntool:-1: Could not load SceneKit.framework ((null))
/scntool:-1: Could not load PhysicsKit.framework ((null))
/scntool:-1: Could not load Jet.framework ((null))
/scntool:-1: Could not load SpriteKit.framework ((null))
/scntool:-1: The document /Users/salman/Library/Developer/Xcode/DerivedData/JellyFish-fhvcybjymvohlxflnwnxqdepqlrl/Build/Products/Debug-iphoneos/JellyFish.app/art.scnassets/Jellyfish.scn is not an archived scene.
/scntool:-1: Conversion failed, will simply copy input to output.
/scntool:-1: Copy failed file:///Users/salman/Library/Developer/Xcode/DerivedData/JellyFish-fhvcybjymvohlxflnwnxqdepqlrl/Build/Products/Debug-iphoneos/JellyFish.app/art.scnassets/Jellyfish.scn -> file:///Users/salman/Library/Developer/Xcode/DerivedData/JellyFish-fhvcybjymvohlxflnwnxqdepqlrl/Build/Products/Debug-iphoneos/JellyFish.app/art.scnassets/Jellyfish.scn error:Error Domain=NSCocoaErrorDomain Code=516 ""Jellyfish.scn" couldn’t be copied to "art.scnassets" because an item with the same name already exists." UserInfo={NSSourceFilePathErrorKey=/Users/salman/Library/Developer/Xcode/DerivedData/JellyFish-fhvcybjymvohlxflnwnxqdepqlrl/Build/Products/Debug-iphoneos/JellyFish.app/art.scnassets/Jellyfish.scn, NSUserStringVariant=(

该错误现已无故消失.它以前发生过.错误出现,消失,然后再次出现.奇怪.

The error has now disappeared without any reason. It's happened before. The error shows up, disappears, then shows up again. Strange.

推荐答案

我的原因是命令行工具设置为空.我通过在 XCode 菜单 > 首选项 > 位置中设置命令行工具来解决.

My cause was that the command line tools setting was empty. I solved by setting Command Line Tools in XCode Menu > Preference > Locations.

这篇关于Xcode:无法加载 ModelIO.framework、SceneKit.framework 等的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆