iPhone SDK 4.0.2?

标签 iphone ios

有没有人成功安装了 Xcode 3.2.3 + iOS 4.0.2 SDK?我在两台不同的机器上试过,在 Snow Leopard 的全新安装上,我已经多次重新下载整个 2GB 的包(我的意思是几个,也许一打)。然而,每次安装都会立即失败。这是我从控制台得到的:

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”。 Apple 是否在他们的开发者网站上发布了一个乏味的(<- 技术术语)SDK? (请注意,我是直接从他们那里得到的)

最佳答案

iOS SDK 4.0.2 是对 iOS 4.0 或 iOS 4.0.1 的更新,它为开发 iPhone 和 iPod touch 应用程序提供支持,包括用于为 iOS 和 Mac 创建应用程序的全套 Xcode 工具、编译器和框架OS X。这些工具包括 Xcode IDE 和 Instruments 分析工具等。

借助此软件,您可以使用随附的 iPhone 模拟器开发可在 iPhone 或 iPod touch 上运行的应用程序。安装 iPhone SDK 4.0.2 需要运行 Mac OS X 10.6.2 (Snow Leopard) 或更高版本的 Macintosh 计算机。

http://developer.apple.com/iphone/library/releasenotes/General/RN-iPhone-4_0_2/index.html

确保您已满足所有要求。

关于iPhone SDK 4.0.2?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3606499/

相关文章:

iphone - 执行 [webView goBack] 后获取 UIWebview 的 URL

ios - 在没有动画的情况下关闭 View Controller 后立即显示 View Controller

iphone - 有没有办法使用 setValue :forKey which will take C-type variables?

ios - 无法隐藏 UIButton

css - iOS 忽略 <a> 标签并尊重 :hover

php - 未从 iPhone 接收到 POST 数据

iphone - 类实现中的私有(private)属性(property)声明?

ios - 如何将多个 ImageView 分组以获得 1 个点击手势识别器?

iOS Obj-C 将字节数组转换为 plist 到字符串

iphone - 创建自定义对象继承 NSObject 类