[英]Xcode 6.2 fails to download docsets, complains they're “untrusted”
The docsets I seek are Xcode 6.2 and iOS 8.2 .我寻求的文档集是Xcode 6.2和iOS 8.2 。 The machine is running an old macOS and can't be upgraded.机器运行的是旧版 macOS,无法升级。 Every time I click on offered items under "Preferences->Downloads->Documentation" I see the progress bar showing my request is acknowledged but then it halts halfway with the alert Could not download and install Xcode 6.2.每次我点击“首选项->下载->文档”下提供的项目时,我都会看到进度条显示我的请求已被确认,但随后中途停止并显示无法下载和安装 Xcode 6.2的警报。 The package “DevToolsDocset.pkg” is untrusted.包“DevToolsDocset.pkg”不受信任。 I tried setting the date several years back but got another more verbose and less helpful alert message.我尝试在几年前设置日期,但收到了另一条更冗长且不太有用的警报消息。
"Untrusted package" alert (imgur) “不受信任的包”警报(imgur)
So, do there exist direct download links for Xcode 6.2 and iOS 8.2 docsets?那么,是否存在 Xcode 6.2 和 iOS 8.2 文档集的直接下载链接? What's a workaround to get them?获取它们的解决方法是什么?
The solution came by itself quite unexpectedly so I'm sharing my trial and error experience:解决方案本身出乎意料,所以我分享我的试错经验:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.