Xcode keeps getting stuck on "Installing components...", it stops at around 40%. I've let it sit for a whole night, reinstalling it from the App Store and searching for solutions on the internet, but all with no succes.
When I Force Quit and restart Xcode, it does the same thing except that the progress bar immediately jumps to 100% but after that it won't budge. I can only get back to the 40% when i restart my computer.
I have Xcode version 9.4 and i'm running macOS High Sierra (10.13.5).
Question asked when starting the app
Edit: I've fixed it by deleting some .kext files that were messing things up. Found the following on an Apple Community post:
- Open Terminal in /Applications/Utilities
- Enter "system_profiler SPExtensionsDataType > ~/Desktop/kextList.txt" without the quotes and hit return(this will take a while to run).
- There should now be a kextList.txt file on your desktop, open it and press both the "Apple(Command)" and "F" keys to bring up the find.
- In the find field insert "Obtained from: Not Signed" Copy the destination to the .kext file to a list for use later.
- Browse your drive to /System/Library/Extensions and remove any of the unsigned kext files.
- Reboot and you should be all set.