xcode fails to down load

When I try downloading xcode 12 from either the appstore or from the developer code portal I get an error that says I dont have enough storage space. But I have over 200 GB of free memory on hard disk. I am unable to run code on my ipad because xcode 12.0 says its not connected, even though it recognises it and its up-to-date. Having been developing software for over 40 years I am finding Apple products are becoming less and less useful because I spend days just trying to sort out the problems they cause with their poor quality control in updates.

So does anyone know how to update xcode or make it run code on my ipad?
xcode fails to down load
 
 
Q