As I expect others are still trying to understand this problem, Eric wrote some feedback a while back on this.
Now, I have been using the cmd + shift + k cache clearing method to work around this, as I have not been able to use Eric’s feedback to find a working solution. I wonder if anyone else has?
To give some idea of how annoying this problem is, I originally was working in VS Code when this issue began. Rebuilt in Eclipse and then hit the same issue… begrudgingly downloaded XCode which lead me to these forum posts and after a day of trying to tweak settings my conclusion is that I need to adjust my OS in someway. I have tried resigning the code, adjusting the hardened runtime, however I can not get a permanent fix.
I will continue working in linux in the meanwhile, but please do reply if you have this issue and have a workable solution.
All the best
Toffy