Started having problems with Xcode 13 after installing Xcode 14 Beta 2 days ago. Xcode would quit every time I click on "main (storyboard)". Also, simulator was missing.
So I deleted both Xcode and the Beta, emptied the trash can and reinstalled Xcode. Simulator was still missing.
Checked the forum for possible solutions and deleted the 'developer' folder under library, and then reinstalled Xcode 13. This time it asked if I wanted to install additional components. I clicked install and Xcode quit. Now each time I try to open Xcode, it asks if I want to install additional components, but doesn't wait for me to click 'install'. It just quits!
Would greatly appreciate any insights into resolving this issue. Thanks!
In addition to the stuff I mentioned above, I deleted Xcode again, reinstalled MacOS, and then reinstalled Xcode 13.4.1 again, and that still didn't work.
Found the solution on the following website "Fuse Connection" https://forums.fusetools.com/t/how-to-fix-xcode-when-installing-the-required-components-breaks/7914
Go to Finder Aplications -> Xcode Right Click Xcode
- Show Package contents
- Then go to /Contents/Resources/Packages/
- Install MobileDevice.pkg ...
I tried Xcode again, but it still didn't work, so I installed all the 4 packages listed in the packages folder, tried Xcode again, and then it worked!