iphone - 设置 Xcode 4.2.1 时出错?

标签 iphone xcode macos

我在尝试设置 Xcode 时遇到问题。如图所示 enter image description here

这是我的 install.log 文件中的内容:

Apr  1 01:29:04 Bashars-MacBook-Pro Installer[420]: Create temporary directory "/var/folders/_4/pnfcjvx94hbgzfgsyy387b9w0000gn/T//Install.420mLpMwf"
Apr  1 01:29:04 Bashars-MacBook-Pro Installer[420]: IFPKInstallElement (29 packages)
Apr  1 01:29:04 Bashars-MacBook-Pro Installer[420]: Using authorization level of root for IFPKInstallElement
Apr  1 01:29:04 Bashars-MacBook-Pro Installer[420]: Failed install preflight: Error Domain=PKInstallErrorDomain Code=102 "The package “DeveloperTools.pkg” is untrusted." UserInfo=0x7fb8526d33d0 {NSLocalizedDescription=The package “DeveloperTools.pkg” is untrusted., NSURL=../Packages/DeveloperTools.pkg -- file://localhost/Users/bashar/Desktop/Programs/Xcode%204.2.1%20iOS%205/Install%20Xcode.app/Contents/Resources/Xcode.mpkg/, PKInstallPackageIdentifier=com.apple.pkg.DeveloperToolsLeo, NSUnderlyingError=0x7fb8526b61e0 "The operation couldn’t be completed. CSSMERR_TP_CERT_EXPIRED"}
Apr  1 01:29:04 Bashars-MacBook-Pro Installer[420]: Install failed: The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.
Apr  1 01:29:04 Bashars-MacBook-Pro Installer[420]: IFDInstallController 50D06C30 state = 7
Apr  1 01:29:04 Bashars-MacBook-Pro Installer[420]: Displaying 'Install Failed' UI.
Apr  1 01:29:04 Bashars-MacBook-Pro Installer[420]: 'Install Failed' UI displayed message:'An unknown installation error occurred.
The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.'.

最佳答案

用于签名的证书已过期。将日期设置为 4.2.1 发布前后的日期,然后安装它。

关于iphone - 设置 Xcode 4.2.1 时出错?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9960227/

相关文章:

iPhone编译依赖于目标

ios - UINavigationController 方法将 View Controller 添加到导航堆栈?

iphone - 尝试为 ios 应用程序安装映射软件时出现控制台错误

iPhone 键盘返回键会将光标移动到下一个文本字段

iphone - 可以在任何 View 中截取屏幕截图的屏幕截图应用程序

iphone - 从界面生成器更改 View 的两个方向的布局

iphone - 使用 block 的 iOS View 转换

xcode - 如何从 .p12 文件中获取发行版身份的名称

python easy_install 在 Mac OS X 上失败,出现 "assembler for architecture ppc not installed"

c++ - 带有 C++ 的 OS X 中的 SIMD Sony vector 数学库