I struggled with this for awhile as well. Tried setting the mask in the scene editor or programitcally and both had the same issue. I then decided to add a 2x and 3x image to the project which was never required for SpriteKit textures in the past and everything started working.
Post
Replies
Boosts
Views
Activity
This is happening to me as well. A few additional details:
Running Monterey with Xcode 12 and Xcode 13 beta 1 installed. Everything was working, I could do my normal work in Xcode 12, but still play around with new features in Xcode 13. Everything worked great.
I installed Xcode 13 beta 2, which also included an install of the command line utilities. This is when the problem started, Xcode 12 could no longer use the debugger and I had to disable it in the scheme to at least test on the simulator.
I tried reinstalling the command line tools for Xcode 12 thinking it would help, but it didn't. Debugger works fine on Xcode 13, but I can't do production work there since the app would not be approved on the App Store.