xCode 15.4 keeps asking me for components installation

Hi,

I am using macOS Sonoma 14.5 and the latest version of Xcode (15.4). Every time I open Xcode, it asks me to install additional components. I accept, but when it finishes, the same dialog appears again. I've done this multiple times. I also uninstalled and reinstalled Xcode, but no luck.

Can you please help me?

I also did it manually and I am receiving this error:

/Applications/Xcode.app/Contents/MacOS/Xcode install

2024-05-16 11:16:21.287 Xcode[28213:253614] [MT] IDEFirstLaunch: Cannot continue without relaunching because of already-loaded bundles: [NSBundle </Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework> (loaded)]

What's in the Platforms tab of the Settings? Since you're constantly being asked to install already-installed components, I'd suggest removing them from this tab then installing them once only from within the Platforms tab.

If that works, you're golden.

If it doesn't:

  • Remove all platforms again.
  • Launch Disk Utility (yes, Disk Utility).
  • Unmount any images of the SDKs that are showing there. You might have to show all volumes rather than just disks.
  • Delete and reinstall Xcode.
  • Select which components you want to install from that selections dialog.
xCode 15.4 keeps asking me for components installation
 
 
Q