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.
Buildtime error:
/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=(
Edit: The error has now disappeared without any reason. It's happened before. The error shows up, disappears, then shows up again. Strange.
My cause was that the command line tools setting was empty. I solved by setting Command Line Tools in XCode Menu > Preference > Locations.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With