2012-03-31 123 views
7

我嘗試設置Xcode時出現問題。在圖像顯示 enter image description here安裝程序Xcode 4.2.1錯誤?

下面是在我的install.log文件:

 
Apr 1 01:29:04 Bashars-MacBook-Pro Installer[420]: Create temporary directory "/var/folders/_4/pnfcjvx94hbgzfgsyy387b9w0000gn/T//Install.420mLpMwf" 
Apr 1 01:29:04 Bashars-MacBook-Pro Installer[420]: IFPKInstallElement (29 packages) 
Apr 1 01:29:04 Bashars-MacBook-Pro Installer[420]: Using authorization level of root for IFPKInstallElement 
Apr 1 01:29:04 Bashars-MacBook-Pro Installer[420]: Failed install preflight: Error Domain=PKInstallErrorDomain Code=102 "The package 「DeveloperTools.pkg」 is untrusted." UserInfo=0x7fb8526d33d0 {NSLocalizedDescription=The package 「DeveloperTools.pkg」 is untrusted., NSURL=../Packages/DeveloperTools.pkg -- file://localhost/Users/bashar/Desktop/Programs/Xcode%204.2.1%20iOS%205/Install%20Xcode.app/Contents/Resources/Xcode.mpkg/, PKInstallPackageIdentifier=com.apple.pkg.DeveloperToolsLeo, NSUnderlyingError=0x7fb8526b61e0 "The operation couldn’t be completed. CSSMERR_TP_CERT_EXPIRED"} 
Apr 1 01:29:04 Bashars-MacBook-Pro Installer[420]: Install failed: The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance. 
Apr 1 01:29:04 Bashars-MacBook-Pro Installer[420]: IFDInstallController 50D06C30 state = 7 
Apr 1 01:29:04 Bashars-MacBook-Pro Installer[420]: Displaying 'Install Failed' UI. 
Apr 1 01:29:04 Bashars-MacBook-Pro Installer[420]: 'Install Failed' UI displayed message:'An unknown installation error occurred. 
The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.'. 
+0

這個問題可能是關於SO的話題。 – Till 2012-03-31 22:34:55

回答

26

證書用於簽署已過期。在4.2.1發佈時將您的日期設置爲左右,然後進行安裝。

+0

非常感謝每一位幫助我 – Bashar 2012-03-31 23:10:31

+2

我把我的約會到2011年8月1日,這工作。謝謝! – k00k 2012-04-23 14:50:52

+1

非常感謝你 – Tariq 2012-07-05 19:43:00