Why is xcode not installing?

Whenever i try to install xcode from the app store, it says this:

There is not enough disk space available to install the product.

yeah, i looked at the possible duplicate, but rn i have 40GB of space, wdym. not enough space

Answered by Claude31 in 740637022

Try to download directly, not from AppStore: https://developer.apple.com/download/applications/

Accepted Answer

Try to download directly, not from AppStore: https://developer.apple.com/download/applications/

yeah, i looked at the possible duplicate, but rn i have 40GB of space, wdym. not enough space

That is probably not enough.

So, you could either make some room (up to 60 or 70 GB) or remove older Xcode before downloading.

Why is xcode not installing?
 
 
Q