2012-04-07 111 views
2

在我的机器Lion 10.7.3上安装XCode 3.2.6后,我一直拉我的头发两天,但到目前为止我没有运气。我已按照此处的安装说明进行操作:Installing Xcode 3.2.6 On Lion ReduxInstalling Xcode 3.2.6 in Mac OS X Lion (10.7)但两者都不起作用。我总是得到一个安装未知的错误,请参阅附加的图像。请帮助..非常感谢。 enter image description here如何在Lion中安装XCode 3.2.6(10.7.3)

机:的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

那个窗口的标题和它的图标是什么?无论如何,在Installer.app的窗口菜单中,你会发现一个显示安装日志的选项。它说什么?尽管这对我和其他人来说已经奏效,但如果苹果公司认为它导致了支持噩梦,那么苹果公司在他们的网站或10.7的安装程序上更改了Xcode 3.2.6软件包以避免这种情况的可能性很小。 – 2012-04-08 07:45:22

+0

请查看安装日志的更新,希望有助于解决错误 – neztreh 2012-04-08 16:21:58

回答

0

运行软件更新。它应该提供“Apple软件安装程序更新”。安装它。我认为它应该解决这个问题。

+0

嗨,Ken,我已经更新了我的系统软件,但是这似乎不能解决问题。 – neztreh 2012-04-08 17:20:05

+0

日志是一样的吗? – 2012-04-08 17:22:54

+0

是的,我得到了相同的安装日志。 – neztreh 2012-04-08 17:36:17

1

最后,我得到了这个工作。此错误“操作无法完成。CSSMERR_TP_CERT_EXPIRED”指向此站点Fixing packages with expired signatures

步骤:

  1. 使用该脚本flatpkgfixer.py
  2. 登上我的光盘映像
  3. 在终端执行该命令,出口COMMAND_LINE_INSTALL扁平圆盘图像= 1
  4. 开“/卷/ Xcode和iOS SDK/Xcode和iOS SDK.mpkg“

XCode 3.2.6在我的Lion 10.7.3上成功安装。干杯!

5

我通过将我的时钟设置为01-01-2012解决了此错误。

这很奇怪,但之后安装成功完成。

0

我通过将系统日期设置为2011年来实现了安装。 它的工作原理非常魅力!

1

将日期设置回2011为我工作。我在日志中看到的确切错误是IFDInstallController 7912F940 state = 7