Xcode 由于自动更新后安装附加组件失败而无法启动,MacOS 10.15.2。

huangapple go评论69阅读模式
英文:

Xcode unable to start due to install additional components failing after automatic update MacOS 10.15.2

问题

我的Mac自动更新后,在重新启动后,由于出现“安装额外所需组件”对话框,我无法使用Xcode。安装程序会提示输入密码,然后每次都会出现相同的失败消息。日志中提到了某些证书过期。

我该如何修复这个启动循环失败而不更新Xcode?(目前我正在尝试将Xcode更新到11.3作为一种解决方法,不确定是否有效)

Xcode 由于自动更新后安装附加组件失败而无法启动,MacOS 10.15.2。

Xcode 由于自动更新后安装附加组件失败而无法启动,MacOS 10.15.2。

> 2020-01-03 16:36:05+07 Alexanders-MacBook-Air Xcode[721]: Package
> Authoring Error: PackageInfo bundle reference found without top-level
> bundle definition. Bundle will be skipped: <bundle id="*"></bundle>
> 2020-01-03 16:36:05+07 Alexanders-MacBook-Air Xcode[721]: Package: PKLeopardPackage <id=com.apple.pkg.MobileDevice,
> version=4.0.0.0.1.1567124787,
> url=file:///Applications/Xcode.app/Contents/Resources/Packages/MobileDevice.pkg>
> Failed to verify with error: Error Domain=PKInstallErrorDomain
> Code=102 "The package “MobileDevice.pkg” is untrusted."
> UserInfo={NSLocalizedDescription=The package “MobileDevice.pkg” is
> untrusted., NSURL=MobileDevice.pkg --
> file:///Applications/Xcode.app/Contents/Resources/Packages/,
> PKInstallPackageIdentifier=com.apple.pkg.MobileDevice,
> NSUnderlyingError=0x7fb0be138100 {Error Domain=NSOSStatusErrorDomain
> Code=-2147409654 "CSSMERR_TP_CERT_EXPIRED" UserInfo={SecTrustResult=5,
> PKTrustLevel=PKTrustLevelExpiredCertificate,
> NSLocalizedFailureReason=CSSMERR_TP_CERT_EXPIRED}}}

英文:

Got my mac autoupdated, upon restart, I cannot use Xcode due to "install additional required components" dialog. The install prompts for password, then fails every time with the same message. The log mentions some cert expired.

How do I fix this failure to start loop without updating Xcode? (Currently I'm trying to update Xcode to 11.3 as a workaround, not sure if this will work)

Xcode 由于自动更新后安装附加组件失败而无法启动,MacOS 10.15.2。

Xcode 由于自动更新后安装附加组件失败而无法启动,MacOS 10.15.2。

> 2020-01-03 16:36:05+07 Alexanders-MacBook-Air Xcode[721]: Package
> Authoring Error: PackageInfo bundle reference found without top-level
> bundle definition. Bundle will be skipped: <bundle id="*"></bundle>
> 2020-01-03 16:36:05+07 Alexanders-MacBook-Air Xcode[721]: Package: PKLeopardPackage <id=com.apple.pkg.MobileDevice,
> version=4.0.0.0.1.1567124787,
> url=file:///Applications/Xcode.app/Contents/Resources/Packages/MobileDevice.pkg>
> Failed to verify with error: Error Domain=PKInstallErrorDomain
> Code=102 "The package “MobileDevice.pkg” is untrusted."
> UserInfo={NSLocalizedDescription=The package “MobileDevice.pkg” is
> untrusted., NSURL=MobileDevice.pkg --
> file:///Applications/Xcode.app/Contents/Resources/Packages/,
> PKInstallPackageIdentifier=com.apple.pkg.MobileDevice,
> NSUnderlyingError=0x7fb0be138100 {Error Domain=NSOSStatusErrorDomain
> Code=-2147409654 "CSSMERR_TP_CERT_EXPIRED" UserInfo={SecTrustResult=5,
> PKTrustLevel=PKTrustLevelExpiredCertificate,
> NSLocalizedFailureReason=CSSMERR_TP_CERT_EXPIRED}}}

答案1

得分: 5

你尝试将系统日期设置为2019年10月3日然后重试了吗?我在这里找到了一个参考链接 -> https://stackoverflow.com/questions/12444656/error-during-xcode-component-installation

英文:

have you tried to set system date as 3 oct 2019 and retry? I got a reference here -> https://stackoverflow.com/questions/12444656/error-during-xcode-component-installation

答案2

得分: 0

我最后卸载了Xcode并重新下载整个XIP。

英文:

I ended up uninstalling the Xcode and re-downloading an entire XIP.

huangapple
  • 本文由 发表于 2020年1月3日 17:40:19
  • 转载请务必保留本文链接:https://go.coder-hub.com/59576172.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定