Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Download iOS SDK 7.0 documentation for offline install

Tags:

xcode

ios

xcode5

I've read some posts like this about doing this using older versions of the iOS SDK.

I can't connect to the internet from the Mac at my home, so i need the link to download the iOS SDK 7 docset and install it offline. I use a similar approach in the previous one 6.1 and it works like charm.

Is there any link or way to follow for getting the offline documentation and install it offline in my xCode 5 ??

EDIT: I need the direct link to download it since i have not osx in the machine that have the internet conection.

like image 284
Javier Cadiz Avatar asked Oct 31 '13 22:10

Javier Cadiz


People also ask

How do I download iOS SDK?

You can install the iOS SDK using CocoaPods or by manually downloading and installing it. We recommended that you use CocoaPods to install the iOS SDK because it handles the dependencies, the build settings, and simplifies upgrading.

Does Xcode have iOS SDK?

The iOS SDK, combined with Xcode, helps developers write iOS applications using officially supported programming languages, including Swift and Objective-C. An . ipa (iOS App Store Package) file is an iOS application archive file which stores an iOS app.

How do I download Xcode 12 on my Mac?

Open the App Store on your mac. Sign in. Search for Xcode. Click install or update.


2 Answers

I fired up Wireshark to inspect where Xcode itself downloads the documentation when doing it the normal/online way via the Downloads-tab in Xcode's Preferences: enter image description here

So here are the various download links:

  • iOS 7 doc set
  • iOS 8 library doc
  • OS X 10.9 doc set
  • Xcode 6 library doc

Just open the image and execute the installer: enter image description here

like image 179
Mobiletainment Avatar answered Sep 23 '22 11:09

Mobiletainment


I've had a similar problem very recently with downloading docsets for Xcode 5.1.1.

My job took me to a very remote place, where we use a 256kbps satellite link as our only Internet connection, and that is mainly used to transfer a substantial amount of scientific data back to our HQ, as well as for the VoIP phones. There's very little bandwidth left for any other purpose and even that is shared between thirteen people.

I can't, therefore, use the normal download mechanism from Xcode, as it would likely time out and/or fill the link completely.

What I can do instead, is to use rsync with bandwidth limit to pull files from a server at home. To do that, I had to find the URLs for the docsets.

It turns out, Xcode uses an XML file available here, which contains a list of all docsets, along with the xcode versions that those docsets are available for. This seems to be refreshed every 24 hours. You can then parse (or manually look through) this file to grab your URLs as needed and download them with wget, curl or any other client. No need for Wireshark!

like image 32
mike Avatar answered Sep 21 '22 11:09

mike