iPhone SDK location on hard drive

iphone

Solution

There are SDK folders for each SDK version at:

 /Developer/Platforms/iPhoneOS.platform/Developer/SDKs

and

 /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs

Problem

I attempted to reinstall the iphone sdk on my mac. I figured the reinstallation would just override my previous installation but it seems that more hard drive space was eaten up after the second install. Does anyone know how I can refresh my installation and start from scratch to free up all the lost space?

Original source