当我尝试在 Xcode 中搜索文档时,出现以下错误:
“index.html”已锁定编辑,您可能无法保存更改。您想解锁吗?
“index.html”目前已被锁定,因为它不支持编辑。
无法解锁文件“index.html”。
无法向该文件添加写权限,因为您不拥有该文件。尝试在 Finder 或终端中修改文件的权限。
我尝试卸载并重新安装,但没有成功。
有什么想法吗?
最佳答案
这是我在 Apple's DevForums: 上找到的解决方案
I went into Xcode preferences, went to the Downloads option, and selected Documentation. From there, I clicked 'Check and Install Now' and it went and downloaded the iOS 5.0 library and 10.7 library. Once those were downloaded, help seemed to be working again via the local libraries. Hope this helps get you back on track.
是的,我也遇到过与您相同的问题。您只需要完整下载文档即可。
关于xcode - 无法查看 Xcode 4.2 帮助 “index.html” 已锁定进行编辑,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8044931/