Xcode组件安装期间发生错误 [英] Error during Xcode Component Installation

查看:121
本文介绍了Xcode组件安装期间发生错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚安装了系统提示我的软件更新,可能是影响Xcode的原因.现在,当我启动Xcode时,将出现一个对话框,指出Xcode必须先安装移动设备框架,然后才能继续.当我尝试执行此操作时,提供密码后,密码将失败,并显示发生未知错误.有关更多详细信息,请参阅安装日志."我在install.log中看不到任何可识别问题的有用信息.我尝试过多次重新安装并重新启动都无济于事.

I just installed a software update that I was prompted for, presumable affecting Xcode. Now when I start Xcode, I am presented with a dialog box which states that Xcode must install the Mobile Device Framework before continuing. When I try to do this, after providing my password, it fails with "An unknown error occurred. See the install log for more details." I do not see anything useful in install.log that identifies the problem. I've tried re-installing multiple times and rebooting to no avail.

我当前正在运行Xcode 4.3.也许我需要升级到4.4?还有其他人遇到这个问题吗?

I'm currently running Xcode 4.3. Perhaps I need to upgrade to 4.4? Has anyone else run into this problem?

推荐答案

此问题再次出现在Xcode 11.1中,是由无效证书导致的,该证书在2019年10月的某一天过期.

This problem has once again appeared in Xcode 11.1 and is caused by an invalid certificate that expired some day in October 2019.

您可以通过将系统日期临时更改为证书到期日期之前的方法来解决此问题.

You can work around the problem by temporarily changing the system date to before the certificate expiration date.

对于Xcode 11,将系统日期设置为2019年10月3日,运行Xcode,然后在安装组件之后将日期改回.

In the case of Xcode 11, set the system date to Oct 3, 2019, run Xcode, then change the date back after the components have installed.

这篇关于Xcode组件安装期间发生错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆