I downloaded Xcode 14 Beta 4. As a result, my Xcode 13 simulators stopped working. I took the advice to delete /Library/Developer from the following post:
https://developer.apple.com/forums/thread/709826
I believe I may have accidentally deleted hidden libraries using sudo.
I redownloaded Xcode 13, and it now crashed on launch.
The prompt shown above will appear for a fraction of a second before the application crashes.
I am wondering if I need to add a /Library/Developer folder. I tried to do so using
command line: xcode-select --install
This solution was provided for a similar problem.
https://apple.stackexchange.com/questions/299989/accidentally-deleted-library-developer-files
This solution did not fix anything nor did it create a /Library/Developer folder.