neztreh
neztreh

Reputation: 4241

how to install XCode 3.2.6 in Lion(10.7.3)

i've been pulling my hair for two days in installing XCode 3.2.6 on my machine, Lion 10.7.3, but up to now I have no luck. i've followed the installation instruction here: Installing Xcode 3.2.6 On Lion Redux and here Installing Xcode 3.2.6 in Mac OS X Lion (10.7) but both are not working. Im always getting an installation unknown error, please refer to the attached image. Please help.. Thank you very much.enter image description here

Machine: Macbook OS: Mac OS X Lion 10.7.3 With XCode 4.3 installed

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.'.

Upvotes: 2

Views: 6914

Answers (5)

Robert
Robert

Reputation: 11

Setting the date back to 2011 worked for me. The exact error I saw in the log was IFDInstallController 7912F940 state = 7

Upvotes: 1

neztreh
neztreh

Reputation: 4241

Finally, I got this working. This error "The operation couldn’t be completed. CSSMERR_TP_CERT_EXPIRED" point me to this site Fixing packages with expired signatures.

Steps:

  1. Flattened the disc image using this script flatpkgfixer.py
  2. Mount my disc image
  3. Execute this command in Terminal, export COMMAND_LINE_INSTALL=1
  4. And open "/Volumes/Xcode and iOS SDK/Xcode and iOS SDK.mpkg"

And XCode 3.2.6 installs successfully on my Lion 10.7.3. Cheers!

Upvotes: 1

FredericK
FredericK

Reputation: 1634

I achieved to install it by setting the system date to year 2011. And it worked like a charm!

Upvotes: 0

Aniruddh
Aniruddh

Reputation: 7668

I solved this error by setting my clock to 01-01-2012.

It's weird, but installation was completed successfully after that.

Upvotes: 5

Ken Thomases
Ken Thomases

Reputation: 90571

Run Software Update. It should offer the "Apple Software Installer Update". Install that. I think it should fix the issue.

Upvotes: 0

Related Questions