Xcode7.0(7A220) 安装离线文档

Purpose:在网上找到Xcode7.0的离线文档下载后,安装在自己电脑上,发现查询文档的时候还是从在线文档获取的,发现是安装路径不对的问题。。。

离线文档的官方下载地址:

https://devimages.apple.com.edgekey.net/docsets/20150916/031-34987-A.dmg 

https://devimages.apple.com.edgekey.net/docsets/20150916/031-34988-A.dmg 

https://devimages.apple.com.edgekey.net/docsets/20150916/031-34989-A.dmg 

https://devimages.apple.com.edgekey.net/docsets/20150916/031-34986-A.dmg 

安装完成后,是在硬盘根目录下的,然后自己手动拷贝到/Applications/Xcode.app/Contents/Developer/Documentation/DocSets下就好了


2015-11-12 更新编辑

Purpose:普适性获取Xcode官方文档下载地址

苹果最新的文档地址会在这个网址中

https://developer.apple.com/library/downloads/docset-index.dvtdownloadableindex

打开后搜索.dmg,最好是从下往上搜索,最新的文档地址在下面




  fileSize
  239281987
  identifier
  com.apple.adc.documentation.Xcode
  name
  Xcode 7.1 Documentation
  source
  https://devimages.apple.com.edgekey.net/docsets/20151021/031-36882-A.dmg
  userInfo
  
    ActivationPredicate
    $XCODE_VERSION >= '7.1'
    Category
    Documentation
    IconType
    IDEDownloadablesTypeDocSet
    InstallPrefix
    $(HOME)/Library/Developer/Shared/Documentation/DocSets
    InstalledIfAllReceiptsArePresentOrNewer
    
      com.apple.pkg.5.0.DevToolsDocset
      10.9.0.0.1.1445309574
    
    RequiresADCAuthentication
    
    Summary
    My description of content
  
  version
  701.12


上述代码中即为文档下载地址

你可能感兴趣的:(iOS)