Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode failed to install

Tags:

xcode

I am trying to install Xcode 4.2 on my Mac system having OS version 10.6.8. Actually, I removed the Xcode from the system and tried to reinstall it.

I quit iTunes before installing it, and I have enough free space on disc (111 GB). Below is a screenshot of the error. What should I do?

Screnshot

like image 918
adi27 Avatar asked Apr 01 '12 12:04

adi27


People also ask

Why is Xcode not installing on my Mac?

Open the Mac App Store and sign out of it. Cancel the installation/download. Next, quit the Mac App Store and then restart your Mac. Once you're back on your desktop, open the Mac App Store, sign in again, and then download and install the app.

Why does Xcode take so long to install?

Why does Xcode take forever to install? Xcode is a huge app. Verifying and expanding it takes a really long time. Even with a fast Internet connection, it will take 1–2 hours to install Xcode.

How do I manually install Xcode on Mac?

Download the latest version of Xcode from the Apple developer website or get it using the Mac App Store. Once you have Xcode installed, open a terminal, run xcode-select --install , and click the Install button to install the required command line developer tools.

Why does Xcode not work on Windows?

Xcode is written in Objective-C and takes advantage of a number of OS X frameworks, so porting it to Windows would require porting all the frameworks on which Xcode relies. Furthermore, Xcode also uses a number of programming tools that would have to be ported to Windows as well (some of them already are, of course).


2 Answers

Set your system time to 1st January 2012 or earlier (but not too early), as the certificate that signed the package has expired.

like image 75
jrtc27 Avatar answered Sep 28 '22 18:09

jrtc27


I had the same error message. In my case, it was solved by updating the OS software. There was an update waiting for "Apple installations software". After the update, Xcode installed perfectly well.

like image 40
chadiak Avatar answered Sep 28 '22 20:09

chadiak