我最近在我的iMac上重新安装了雪豹。安装以前版本的Xcode工作得很好,但是这个版本在我启动"Install iPhone“之后拒绝安装,并在安装过程的早期中止。来自install.log的错误可以在下面看到。我在苹果论坛上看到有几个人遇到了同样的问题,但我还没有找到一个可行的解决方案。
我尝试过重新启动、重新下载dmg文件、使用磁盘工具修复文件权限,但似乎都没有效果。
有谁有什么建议吗?
PackageKit: Install Failed: PKG: extracting 
"com.apple.pkg.DevToolsDocumentationLeo"
Error Domain=PKInstallErrorDomain Code=110         
UserInfo=0x10041cb90 "An error occurred while extracting files from the package “DevToolsDocumentation.pkg”."     
Underlying Error=(Error Domain=NSCocoaErrorDomain Code=259 "The file couldn’t be opened because it isn’t in the   
correct format.") {
    NSFilePath = "/var/folders/zz/zzzivhrRnAmviuee+++++++++++/Cleanup At 
    Startup/PKInstallSandbox-tmp/Root";
    NSLocalizedDescription = "An error occurred while extracting files  
    from the package \U201cDevToolsDocumentation.pkg\U201d.";
    NSURL = "../Packages/DevToolsDocumentation.pkg -
    - file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Xcode.mpkg/";
    NSUnderlyingError = "Error Domain=NSCocoaErrorDomain Code=259 \"The file couldn\U2019t be opened because it isn\U2019t in the correct format.\"";
    PKInstallPackageIdentifier = "com.apple.pkg.DevToolsDocumentationLeo";
}
Sep 20 19:54:54 iMac installer[164]: install:didFailWithError:Error Domain=PKInstallErrorDomain     
Code=110 UserInfo=0x10041cb90 "An error occurred while extracting files from the package  
“DevToolsDocumentation.pkg”." Underlying Error=(Error Domain=NSCocoaErrorDomain Code=259 "The file couldn’t be  
opened because it isn’t in the correct format.")发布于 2011-09-21 02:59:13
您是否尝试过从另一台计算机或其他路由器下载.dmg?似乎对这些人很管用:
https://apple.stackexchange.com/questions/9364/why-cant-i-install-os-x-10-6-6-combined-updates
https://stackoverflow.com/questions/7489756
复制相似问题