Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode stuck on "Installing components..."

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

Installation stuck at 40%

Installation stuck at 100%

Edit: I've fixed it by deleting some .kext files that were messing things up. Found the following on an Apple Community post:

  1. Open Terminal in /Applications/Utilities
  2. Enter "system_profiler SPExtensionsDataType > ~/Desktop/kextList.txt" without the quotes and hit return(this will take a while to run).
  3. 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.
  4. In the find field insert "Obtained from: Not Signed" Copy the destination to the .kext file to a list for use later.
  5. Browse your drive to /System/Library/Extensions and remove any of the unsigned kext files.
  6. Reboot and you should be all set.
like image 916
Vic Segers Avatar asked Jun 10 '18 22:06

Vic Segers


People also ask

Why does Xcode take so long to install?

Why does Xcode take forever to install? Xcode is a huge app. Verifying and expanding it takes a really long time. Even with a fast Internet connection, it will take 1–2 hours to install Xcode.


1 Answers

Starting MacOS in Safe Mode and the starting Xcode should fix the issue. I tried in MacOS High Sierra 10.13.6 and it worked perfectly.

like image 181
JaimeRave Avatar answered Nov 16 '22 01:11

JaimeRave