I have an older App using SpriteKit and have updated to Xcode 14.3. Compilation and linking is ok.
App never gets to my code but crashes in AppDelegate with:
Metal API Validation Enabled
-[MTLDebugDevice newLibraryWithURL:error:]:2250: failed assertion `url must not be nil.'
I do not anywhere explicitly init() or call Metal. Using LLDB at the point of crash, I tried to peek into the App Bundle but
po Bundle.main.paths(forResourcesOfType: "URL", inDirectory: "nil")
0 elements
likewise:
po Bundle.main.paths(forResourcesOfType: "*", inDirectory: "nil")
0 elements
I suspect a build script or preformed bundle.main got screwed up, but I do not know how to investigate.
I should that this seems to be isolated to one MacBook Pro, compiles and runs fine on an iMac!
Any thoughts?