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

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

问题描述

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



为什么?只是我吗如何修复?

解决方案

这是一个恶作剧,但工作修复,灵感来自于 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 /



重新启动Xcode和voilà。



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


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?

解决方案

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:

Open the file /Developer/Platforms/iPhoneOS.platform/Developer/Documentation/DocSets/com.apple.adc.documentation.AppleiOS4_2.iOSLibrary.docset/Contents/Info.plist

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

Relaunch Xcode, and voilà.

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天全站免登陆