XCode 4 installation is stuck

I tried to install XCode several times but it gets stuck every time. By the way I bought XCode in Mac Appstore.
What's the problem?
Thanks!

Mac OS X (10.6.6)

Posted on Mar 10, 2011 5:09 AM

Reply
Question marked as Top-ranking reply

Posted on Mar 10, 2011 12:42 PM

I don't know if this solves anyone else's problem, but maybe it helps: The installer just errored on me without explanation, but /var/log/install.log mentioned that there wasn't enough free space on my volume (approx 9,5G free). Deleted about 2gigs, and it seems to be installing fine now.

Message was edited by: TijmenBr
62 replies

Nov 8, 2011 5:35 PM in response to shimapa

Hi The problem is quite simple and after having it a couple of times It dawned on me what teh problem was.


In the Past I've used the Root account as a main account for a variety of reasons and when I used the Root Account to install I got a flurry or error messages and it only installed to 98%.


After Reading the coments made I see a pattern. The times where you have re-installed it, the Permitions where changed.


If you go into your Login Items in the User accounts In preferances.


You can remove login items from the computer when the computer first starts up. The reason for the error is that the iTunes helper is active (On and Running a simplified vertion of iTunes). The same is true for any other program that is available at login, & in my case it was iPlayer (BBC) and Final Cut's quad core processing.


So by removing that option in my normal account. The instalation was fine with no problems.


In Conclusion.


Before installing go into Preferances/ Accounts/ select your account that is open and being used/ Choose at teh Top Login Items from the menu above the account icon (password / Login Items)/ In Log in items you will see some programs, De-select any that are there and close the system preferances.


It is also worth creating a Root account if only for this install. Use Help to direct you as it seems to move between OS's as often as the Tardis! for 10.5 it's under login Options/ Look at the botom of the box for Network Account Server (Join) and click the join Button. When in the next menu refer to the Help instructions as the instructions change on both computers I have. So good Luck.

Mar 12, 2011 9:33 PM in response to alex@evoluChange

alex@evoluChange wrote:
End up working when I cleaned up space, it only when through when I had more than 14 GB available...


I doubt it's a matter of the available space (only). I've had the issue on a brand new mini-Mac (bought it just Friday) with roundabout 300 GB of free disk space.

Disappointing, I must say.

First, Apple forces you to buy their hardware (and leave their OS) on it to build iOS apps and then you find out that every alpha release from MS seems much better tested.

Mar 14, 2011 1:01 AM in response to shimapa

Sam problem here as well, but I have tried installing from the Mpkg package... Still stalls and I have just over 150gb free on my HD. I got in touch with apple via the mac app store - basically they fobbed me off. I was told they had removed the app from my account so I could download it again, but not to do so for 2 weeks!! ***!! I pay for the app and now I have to wait 3 weeks from paying before I can even try to get it working again!! Come on apple!

If anyone has another solution I am 'all ears', but here is my error log:

Mar 13 09:58:28 Ricks-Mac installer[278]: install:didFailWithError:Error Domain=PKInstallErrorDomain Code=110 UserInfo=0x5c79230 "An error occurred while extracting files from the package “iPhoneSimulatorSDK4_2.pkg”." Underlying Error=(Error Domain=BOMCopierFatalError Code=0 UserInfo=0x38043a0 "The operation couldn’t be completed. cpio read error: Unknown error: 0")
Mar 13 09:58:28 Ricks-Mac installer[278]: Install failed: The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.

Rick

Mar 10, 2011 8:36 AM in response to shimapa

Different failure: "The Installer encountered an error.... consult /var/log/install.log for details."

install.log says this:


Mar 10 10:25:12 Chief installer[35425]: PackageKit: Install Failed: PKG: extracting "com.apple.pkg.iPhoneSDK4_2" Error Domain=PKInstallErrorDomain Code=110 UserInfo=0x1061ed650 "An error occurred while extracting files from the package “iPhoneSDK4_2.pkg”." Underlying Error=(Error Domain=NSPOSIXErrorDomain Code=2 UserInfo=0x105f52e80 "The operation couldn’t be completed. No such file or directory") { NSFilePath = "/var/folders/zz/zzzivhrRnAmviuee+++++++++/Cleanup At Startup/PKInstallSandbox-tmp/Root"; NSLocalizedDescription = "An error occurred while extracting files from the package U201ciPhoneSDK4_2.pkgU201d."; NSURL = "../Packages/iPhoneSDK4_2.pkg -- file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Xcode%20and%20iOS%20SDK.mpkg/"; NSUnderlyingError = "Error Domain=NSPOSIXErrorDomain Code=2 UserInfo=0x105f52e80 "The operation couldnU2019t be completed. No such file or directory""; PKInstallPackageIdentifier = "com.apple.pkg.iPhoneSDK4_2"; }
Mar 10 10:25:12 Chief installer[35425]: install:didFailWithError:Error Domain=PKInstallErrorDomain Code=110 UserInfo=0x1061ed650 "An error occurred while extracting files from the package “iPhoneSDK4_2.pkg”." Underlying Error=(Error Domain=NSPOSIXErrorDomain Code=2 UserInfo=0x105f52e80 "The operation couldn’t be completed. No such file or directory")
Mar 10 10:25:13 Chief installer[35425]: Install failed: The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

XCode 4 installation is stuck

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.