Xcode 中的文档要求我签名然后失败 [英] Documentation in Xcode requires me to sign and then fails

查看:12
本文介绍了Xcode 中的文档要求我签名然后失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我将 Xcode 和 iOS SDk 分别升级到 3.2.5 和 4.2 之前,我可以在 Xcode 中选择文本,右键单击并选择在文档中查找文本,它会转到文档中的相应位置,但是现在如果我这样做它要求我使用我的 Apple ID 登录,然后它告诉我我没有被授权?但是我可以在像chrome这样的普通网络浏览器中访问文档,只是不方便选择和右键单击,这很烦人.(注意我不是付费开发者,但我从来都不是)

Before I upgraded Xcode and the iOS SDk to 3.2.5 and 4.2 respectively I could select text in Xcode, right click and and select find text in documentation, and it would go to the corresponding place in the documentation, however now if I do that it asks me to sign in with my apple ID, and then it tells me I'm not authorized? However I can access the documentation in a normal web browser like chrome, it's just irritating to not have the convenience of selecting and right clicking. (NB I'm not a paying developer, but I never have been)

这是为什么?难道只有我一个?以及如何解决?

Why is this? Is it only me? and how do I fix it?

推荐答案

这是一个 hacky 但有效的修复,灵感来自 http://www.iphonedevsdk.com/forum/iphone-sdk-tools-utilities/66298-unable-access-sdk-documentation-since-upgrade.html:

Here's a hacky but working fix, inspired by http://www.iphonedevsdk.com/forum/iphone-sdk-tools-utilities/66298-unable-access-sdk-documentation-since-upgrade.html:

打开文件/Developer/Platforms/iPhoneOS.platform/Developer/Documentation/DocSets/com.apple.adc.documentation.AppleiOS4_2.iOSLibrary.docset/Contents/Info.plist

将 DocSetFallbackURL 值从 https://developer.apple.com/library/ios/prerelease 更改为 http://developer.apple.com/library/ios/.

Change the DocSetFallbackURL value from https://developer.apple.com/library/ios/prerelease to http://developer.apple.com/library/ios/.

重新启动 Xcode,然后瞧.

Relaunch Xcode, and voilà.

如果您在 Safari 中从 DocSetFeedURL(在同一个 Info.plist 中)打开 URL,您可以下载文档的 .xar 文件.不确定那个文件是什么,但我目前正在下载它......

If you open the URL from DocSetFeedURL (in the same Info.plist) in Safari, you can download a .xar file of the documentation. Not sure what that file is, but I'm currently downloading it...

这篇关于Xcode 中的文档要求我签名然后失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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