I know that Xcode and the runtime use different algorithms to find resources for Scene Kit, so it’s not too surprising it works in one and not the other. (The Xcode one obviously needs to be able to look through all your source, the runtime one is much more specific about where it will look.)
That said, can you post what your application’s Resources directory looks like? Like, if you go into it and do an ls -FR
, do you see the structure you’d expect? Everything is copied in OK?
Also, if that’s the same model, you’ve got more problems than just your textures not loading. I mean, that looks totally whack. Are you doing something else to the files you load?