Want to highlight a helpful answer? Upvote!

Did someone help you, or did an answer or User Tip resolve your issue? Upvote by selecting the upvote arrow. Your feedback helps others! Learn more about when to upvote >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Xcode4: "The Installer encountered an error that caused the installation to fail"

Hi Community,


I just finished downloading the Xcode4 installer from the AppStore (after a painful 3 hours of waiting). Every time i open the installer to install Xcode, i keep getting the error "The installer encountered an error that caused the installer to fail. Please consult /var/log/install.log for more details." Here's what the intall log is saying (below). I can't make much sense of any of it. Does anyone know what's going wrong? Thanks.


Aug 5 19:18:25 The-Boss _cvmsroot[1503]: End script: AlertAll.sh

Aug 5 19:18:25 The-Boss _cvmsroot[1504]: Begin script: preflight

Aug 5 19:18:25 The-Boss _cvmsroot[1507]: End script: preflight

Aug 5 19:18:25 The-Boss _cvmsroot[1508]: Begin script: writelocation

Aug 5 19:18:25 The-Boss _cvmsroot[1511]: End script: writelocation

Aug 5 19:18:25 The-Boss _cvmsroot[1512]: Begin script: zzzcleanup

Aug 5 19:18:25 The-Boss _cvmsroot[1516]: End script: zzzcleanup

Aug 5 19:18:25 The-Boss _cvmsroot[1517]: 4 Install Scripts run.

Aug 5 19:18:50 The-Boss installd[1487]: PackageKit: Install Failed: Error Domain=PKInstallErrorDomain Code=112 "An error occurred while running scripts from the package “DeveloperTools.pkg”." UserInfo=0x7fab250f8490 {NSFilePath=./preinstall, NSURL=file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Pack ages/DeveloperTools.pkg, PKInstallPackageIdentifier=com.apple.pkg.DeveloperToolsLeo, NSLocalizedDescription=An error occurred while running scripts from the package “DeveloperTools.pkg”.} {

NSFilePath = "./preinstall";

NSLocalizedDescription = "An error occurred while running scripts from the package \U201cDeveloperTools.pkg\U201d.";

NSURL = "file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/ DeveloperTools.pkg";

PKInstallPackageIdentifier = "com.apple.pkg.DeveloperToolsLeo";

}

Aug 5 19:18:50 The-Boss installer[1484]: install:didFailWithError:Error Domain=PKInstallErrorDomain Code=112 "An error occurred while running scripts from the package “DeveloperTools.pkg”." UserInfo=0x7fb3a39021f0 {NSFilePath=./preinstall, NSURL=file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Pack ages/DeveloperTools.pkg, PKInstallPackageIdentifier=com.apple.pkg.DeveloperToolsLeo, NSLocalizedDescription=An error occurred while running scripts from the package “DeveloperTools.pkg”.}

Aug 5 19:18:51 The-Boss installer[1484]: Install failed: The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.

Posted on Aug 5, 2011 7:26 PM

Reply
6 replies

Xcode4: "The Installer encountered an error that caused the installation to fail"

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