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

查看:114
本文介绍了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.

推荐答案

我能够将我的计算机从10.13.6更新到10.14 macOS Mojave,并且它要求我安装XCode组件.完成此操作后,尽管我的机器上已经安装了XCode 10.1,但它像一个魅力一样工作.它使我重置了活动的开发人员路径, https://apple.stackexchange.com /questions/254380/macos-mojave-invalid-active-developer-path ,但它可以工作.

I was able to update my computer from 10.13.6 to 10.14 macOS Mojave and it required me to install XCode Components. After the completion of that, although I already had XCode 10.1 on my machine, it worked like a charm. It made me reset my active developer path, https://apple.stackexchange.com/questions/254380/macos-mojave-invalid-active-developer-path, but it works.

如果有人提出不同的解决方案,我将给予奖励,但是目前这是我的答案.

If someone comes up with a different solution, I will award it, but currently this is my answer.

重置计算机-检查更新-更新-更新XCode-最终确定.

Reset your computer -- check for updates -- update -- update XCode -- Finalize.

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

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