I just wanted to add a .dae file into my codes but goy t an error and my program crash.

The error I get :

"Failed to copy SceneKit assests because scntool failed to process the following resources: /Users/yahya/Library/Developer/Xcode/DerivedData/51HariciModelleme-flhjjlvgxqrjtchigzgtsufqumgc/Build/Products/Debug-iphonesimulator/51HariciModelleme.app/art.scnassets/superman.dae"

my code:

hariciNode = SCNNode()

    convenience init(create:Bool) {
        hariciNode = ModelYardimcisi().modelOlustur(adres: "art.scnassets/superman.dae") //Problem starts here****

I watch a tutorial about it and did the same but it's still not working. Any ideas on how to resolve this?

0 Answers