Xcode 4.2 Snow Leopard Doesn't Install My mac crashed and I am trying to install Xcode 4.2 again, but it doesn't work.

The GUI shows an 'The Installation Failed' error.

In the console a few messages stick out to me. They are:

The domain/default pair of (com.apple.iPhoneSDKInstaller, showAdvancedInstaller) does not exist

The Package "OtherDevDocumentation,pkg" is untrusted. CSSMERR_TP_CERT_EXPIRED

Sometimes it says it can't find the developer tools as well.

When I press Get Info on the Xcode.mpkg inside the DMG file, It says it is only 520KB. Is that supposed to happen?

Can anyone help me fix this issue?

Thanks,
Ashley
Just change date to January 2012 or something, it will install just fine. The certificate expired in March.

Updated, steps:


turn off automatic synchronization of date &amp; time  
change actual date of the system to 01.01.2012 (for example, prior to
26.03.2012) 
install the Xcode 
turn the automatic synchronization back on.