在设置Xcode时,我遇到了问题。如下图所示:
这是我的install.log文件中的内容:
4月1日01:29:04 Bashars-MacBook-Pro Installer [420]: 创建临时目录“/ var / folders / _4 / pnfcjvx94hbgzfgsyy387b9w0000gn / T // Install.420mLpMwf” 4月1日01:29:04 Bashars-MacBook-Pro Installer [420]: IFPKInstallElement(29个包) 4月1日01:29:04 Bashars-MacBook-Pro Installer [420]: 对IFPKInstallElement使用根权限 4月1日01:29:04 Bashars-MacBook-Pro Installer [420]: 安装前检查失败: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"} 4月1日01:29:04 Bashars-MacBook-Pro Installer [420]: 安装失败:安装程序遇到错误导致安装失败。联系软件制造商寻求帮助。 4月1日01:29:04 Bashars-MacBook-Pro Installer [420]: IFDInstallController 50D06C30 state = 7 4月1日01:29:04 Bashars-MacBook-Pro Installer [420]: 显示“安装失败”UI。 4月1日01:29:04 Bashars-MacBook-Pro Installer [420]: “安装失败”UI显示消息:“发生未知的安装错误。
The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.'.