I had the same error and I was only using skScene/skView. For me this meant that when I was debugging an iOS application from xcode (13.3.1) to iOS 15.4.1 it didn't show the skScene/skView layers. But when running the application on the iPad directly it did (this was not an issue when running iOS 15.3.1).
The solution was to switch on a scheme option.
menu product/scheme, them edit scheme, in run option (left hand panel) then in the Diagnostics tab (right side), check "Metal API validation" option.
Note - I have no idea why the iOS version update would make this difference, but it worked for me. Hope this helps.
Post
Replies
Boosts
Views
Activity
I just tried the solution for https://forums.developer.apple.com/forums/thread/744083
and this fixed the issue for me. Initial investigation and it doesn't seem to matter if I have flight mode on or off. Cable connection is working.