有沒有人有安裝Xcode 3.2.3 + iOS 4.0.2 SDK的好運氣?我在兩臺不同的機器上嘗試了雪豹的乾淨安裝,並且我重新下載了整個2GB軟件包多次(我的意思是幾個,也許是十幾個)。但是每次安裝都會立即失敗。這是我從控制檯得到的:iPhone SDK 4.0.2?
PackageKit: ----- Begin install -----
PackageKit: Install Failed: PKG: extracting "com.apple.pkg.DeveloperToolsLeo"
Error Domain=PKInstallErrorDomain Code=110 UserInfo=0x350e9a0 "An error occurred while extracting files from the package 「DeveloperTools.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 \U201cDeveloperTools.pkg\U201d.";
NSURL = "../Packages/DeveloperTools.pkg -- file://localhost/Volumes/Xcode%20and%20iPhone%20SDK/Xcode%20and%20iPhone%20SDK%20for%20Snow%20Leopard.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.DeveloperToolsLeo";
}
Install failed: The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.
IFDInstallController 20C2F0 state = 7
對不起,如果這不完全是一個編程問題。另外,如果它意味着什麼,「文檔」和10.4 SDK將在安裝選項列表中顯示爲文件大小爲「零KB」。蘋果公司是否向他們的開發人員網站發佈了一個borked(<-技術術語)SDK? (請注意,我直接從它們那裏獲得)
我在Intel Core Duo MacBook(不是Core 2 Duo,Core Duo)上運行10.6.4,在安裝4.0.2之前是否需要安裝4.0 SDK? – Trev 2010-08-31 20:34:24
試試這種方法。我不確定。無論如何,在另一個SDK上安裝一個SDK不會造成任何損害。 – 2010-08-31 20:58:47
啊,SDK 4.0似乎正在工作,授予,一些奇怪的消息記錄到控制檯,但安裝成功完成。但是,4.0.2仍然拒絕安裝。 我不能說我一定需要最新版本,但我仍然樂於接受建議。非常感謝您的幫助! – Trev 2010-09-01 00:10:03