Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Instaling XCode 3.2.5 on OSX 10.6.8 produces the error - "The operation couldn’t be completed. CSSMERR_TP_CERT_EXPIRED"

When installing XCode 3.2.5 on OSX 10.6.8, I get the following error message in /private/var/log/install.log

Failed install preflight: Error Domain=PKInstallErrorDomain Code=102 UserInfo=0x1d9a30 "The package “iPhoneSDKTools.pkg” is untrusted." Underlying Error=(Error Domain=NSOSStatusErrorDomain Code=-21 47409654 UserInfo=0x1dbe90 "The operation couldn’t be completed. CSSMERR_TP_CERT_EXPIRED")

Adding question and answer for others searching on a different version of XCode.

like image 920
Ralph Willgoss Avatar asked Apr 03 '12 22:04

Ralph Willgoss


1 Answers

I also had the problem installing the downloaded version of XCode 3.2.6 from Apple, checked the log and got the "untrusted" error and found my way here to discover the Package Signature issues. Some of those tools only work on Lion though, and much of this is catch 22 for people as we are using 10.6 and so have to use Xcode 3.2.6...

Anyway, to cut a long story short, change the system date back to Feb 2012 (before the certs expired in March 2012) and then install.... worked fine for me, such a simple solution - far too long to get there though...

EDIT : Sorry, only just clicked though to see your link about the date/time, I went straight to the repackager. If it's okay, I'll leave this here as it gives a direct answer to the question for people like me who have just found this on Google etc

like image 65
dave heywood Avatar answered Sep 30 '22 14:09

dave heywood