Skip to main content
On this page

How to Download and Install the iOS SDK on Windows and Linux

How to get the iOS SDK, how to install it, and how to upgrade it when a new version comes out.

Last updated

1. How do I get the iOS SDK?

Pick either of the two methods below.

  • Method 1: Search online and download an SDK someone has shared, for example the two files iPhoneOS.platform.zip and toolchain.zip from this shared copy.
  • Method 2: Sign in with your Apple account and download the Xcode installer Xcode_27.2.xip. For other versions, open the Apple downloads page and pick the file named Xcode_<version>.xip.

2. How do I install the iOS SDK?

Put the downloaded files in your Downloads folder or in the sharedcomponents folder of your KXBuild install, without unzipping them. The Downloads folder is the one your system already has, where the browser saves files by default; on Windows it is listed on the left of File Explorer. There is no need to create one.

With the files in place, run the command below.

> kxbuild doctor

If the files are in another folder, such as D:\sdk, add its path:

> kxbuild doctor D:\sdk

When every check passes, the SDK is installed and you can delete the installer or the archives.

3. How do I upgrade the iOS SDK?

Get the new version of the iOS SDK and go through the install steps above again. The old version is replaced.

4. How do I generate my own SDK files?

Download the Xcode installer Xcode_27.2.xip and ios-sdk-extractor, unzip ios-sdk-extractor into the folder that holds the Xcode installer and run the command below to extract iPhoneOS.platform.zip and toolchain.zip from the installer. They are much smaller than the Xcode installer, so to install on several computers or share with others, you can generate your own iOS SDK this way and copy just these two archives, which is much easier than downloading Xcode on every computer.

> ios-sdk-extractor -x Xcode_27.2.xip -o sdkextracted

Next steps