我在我的机器Lion 10.7.3上安装XCode 3.2.6时已经拉了两天头发,但到目前为止我没有运气。我已按照此处的安装说明进行操作:Installing Xcode 3.2.6 On Lion Redux和此处Installing Xcode 3.2.6 in Mac OS X Lion (10.7)但两者均无效。我总是得到一个安装未知的错误,请参阅附图。请帮忙..非常感谢。
机器:Macbook 操作系统:Mac OS X Lion 10.7.3 安装XCode 4.3
Apr 8 17:14:27 mo-macbook Installer[326]: Set authorization level to root for session
Apr 8 17:14:28 mo-macbook Installer[326]: Will use PK session
Apr 8 17:14:28 mo-macbook Installer[326]: Starting installation:
Apr 8 17:14:28 mo-macbook Installer[326]: Configuring volume "Mac OS X"
Apr 8 17:14:28 mo-macbook Installer[326]: Preparing disk for local booted install.
Apr 8 17:14:28 mo-macbook Installer[326]: Free space on "Mac OS X": 108.39 GB (108385030144 bytes).
Apr 8 17:14:28 mo-macbook Installer[326]: Create temporary directory "/var/folders/g8/87n3y6s561x_62y3d9h7y5480000gn/T//Install.326LicomV"
Apr 8 17:14:28 mo-macbook Installer[326]: IFPKInstallElement (22 packages)
Apr 8 17:14:28 mo-macbook Installer[326]: Using authorization level of root for IFPKInstallElement
Apr 8 17:14:29 mo-macbook Installer[326]: Failed install preflight: Error Domain=PKInstallErrorDomain Code=102 "The package “iPhoneSDK4_3.pkg” is untrusted." UserInfo=0x7c375830 {PKInstallPackageIdentifier=com.apple.pkg.iPhoneSDK4_3, NSLocalizedDescription=The package “iPhoneSDK4_3.pkg” is untrusted., NSUnderlyingError=0x7c3e0d30 "The operation couldn’t be completed. CSSMERR_TP_CERT_EXPIRED", NSURL=../Packages/iPhoneSDK4_3.pkg -- file://localhost/Volumes/Xcode%20and%20iOS%20SDK/Xcode%20and%20iOS%20SDK.mpkg/}
Apr 8 17:14:29 mo-macbook Installer[326]: Install failed: The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.
Apr 8 17:14:29 mo-macbook Installer[326]: IFDInstallController 7AE66E10 state = 7
Apr 8 17:14:29 mo-macbook Installer[326]: Displaying 'Install Failed' UI.
Apr 8 17:14:29 mo-macbook Installer[326]: '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 :(得分:5)
我通过将时钟设置为01-01-2012来解决此错误。
这很奇怪,但之后安装成功完成。
答案 1 :(得分:1)
最后,我得到了这个工作。此错误“操作无法完成.CSMERR_TP_CERT_EXPIRED ”将我指向此网站Fixing packages with expired signatures。
步骤:
XCode 3.2.6在我的Lion 10.7.3上成功安装。干杯!
答案 2 :(得分:1)
将日期设置回2011年对我有用。我在日志中看到的确切错误是IFDInstallController 7912F940 state = 7
答案 3 :(得分:0)
运行软件更新。它应该提供“Apple软件安装程序更新”。安装那个。我认为应该解决这个问题。
答案 4 :(得分:0)
我通过将系统日期设置为2011年来实现安装。 它就像一个魅力!