[Official] Install Xcode for Linux Ubuntu 14.04, 16.04 (32 & 64 bit)

How To Install & Work Xcode for linux:

This article will show you how to download and install Xcode for Linux.  Xcode 8 is the latest IDE from apple.  It is used to develop apps for iPad, iPhone, Mac etc. Let see the installation steps of xcode in linux ubuntu.

Xcode for linux

Xcode for linux


Xcode 8 includes everything you need to create amazing apps for iPhone, iPad, Mac, Apple Watch, Apple TV and various other Apple products. This noticeably faster version of the IDE features new editor extensions that you can use to completely customize your coding experience and so your IDE is your living room now.  New runtime issues alert you to hidden bugs by pointing out memory leaks, and a new Memory Debugger dives deep into your object graph like no other IDEs out there.

Swift 3 is the latest version of programming language introduced by Apple.   Swift 3 includes more natural and consistent API naming, which you can experiment with in the new Swift Playgrounds app for iPad.

Check This Too: How To Install Xcode For Windows 10

The following is the list of features you would like to take a look at:

Interface Builder — Accelerated

  • The Interface Builder design canvas has been thoroughly reengineered to make your work faster and provide greater control.
  • See a live preview of exactly how your app will appear on any Apple device with full vibrancy.
  • As you quickly switch between different devices to customize your UI for size classes, you will always see the same interface as your customers.
  • Pan and zoom are incredibly fast, and you can even edit your interfaces when fully zoomed out for a bird’s eye view of your storyboard.

Editor Extension you should check out:

  • New Xcode extensions for the source editor let you customize your coding experience.
  • Use extensions to navigate within your editor’s text, and select, modify, and transform your code.
  • Bind your favorite extensions to a keyboard shortcut to make common reformatting tasks a snap.
  • Xcode includes a new template so you can easily create editor extensions and distribute them on the Mac App Store, or sign your extensions with your Developer ID to share them online.
  • And because extensions run in a separate process, Xcode stays safe and stable.

Swift 3 the new language that is ought to be checked out:



  • Swift 3 is the first major release of the innovative programming language built completely in the open with the community of developers at Swift.org.  It is also a place you should check out before start coding.
  • This release unifies core API naming rules under a new public API Naming Guidelines document that makes writing code in Swift mearge with the real world dynamics.

Xcode for Linux- Installation Steps:

Xcode for linux

Xcode for linux

  • You need Macingtosh iso called IPCx86 just google it
  • Open your terminal and type in sud0 apt-get install qemu.  Enter password if you want.  It will download and install qemu.
  • Now Create a blank IMG using the following command:
Check This Also  Imo For PC, Windows & Mac Free Download

qemu-image create (name).img (size)G

  • The sample execution of the command is listed below:

qemu-image create x.img 10G

  • Setting up the  mac installation

qemu-system_x86_64 -hda/(path to img) -vga std -m 2048 -soundhw ac97 -cdrom /(path to iso) – boot d

  • Installaiton of mac to install Xcode
  • select country and language go to disk utility and image
  • select the 9.50 voodo kernal as the installation file legacy app Intel chip set driver
  • driver>chip set driver> Legacy Intel
  • go to audio and select AC97 Audio
  • PS/2 Keyboard and Mouse FR
  • and press install

skip the disk check

Now run the following code in the terminal:

qemu system x86 64 boot e -vga std m 2048 hda/(path to img)

Final Touches

  • skip all the registration and and enter the Mac OsX
  • we are running 10.5.6 Snow Leopard
  • This is also a great place to start your hack intosh

Now is the main part:

Installing Xcode for Mac:

  • Open your browser and go to developer.apple.com
  • On the right top you will notice Account.  Click on that
  • Enter you apple id if you have one or create a new one.
  • Now you sign in using your apple id
  • In the left pane you will see downloads and click it
  • You will see the beta versions and if you scroll down you will see the public release versions too.
  • Click on download and this will take you to the Mac app store.
  • Now click on view in mac app store and launch the application.
  • You can install the app from here
  • Xcode will get installed in the Application folder

You can also download the installer.

  • At the bottom of the page you will see “See More download”
  • In the search bar type xcode and push enter.
  • You will the see xcode.zip file in the search result.
  • Download the zip file and it will get downloaded to the download folder.
  • Click the xcode.zip file and it will verify the digital signature and expand it.
  • You will the the xcode application.  Move the program to the application and open it
  • You can use the xcode.zip file to have a back up of the xcode app in case something goes wrong.

To install Swift on Ubuntu, you are going to have install a component called clang:

  • Go to the terminal and type:
sudo apt-get install clang

  • If you installed the Swift toolchain on Linux to a directory other than the system root, you will need to run the following command, using the actual path of your Swift installation:
export PATH=/path/to/Swift/usr/bin:"${PATH}"

  • You can verify that you are running the expected version of Swift by entering the swift command and passing the –version flag:
swift --version
 Apple Swift version 2.2-dev (LLVM ..., Clang ..., Swift ...)

  • The -dev suffix on the version number is used to indicate that it’s a development build, not a released version.
Check This Also  Official Zapya for Pc Download for Windows and Mac

Some additional features of Xcode that you should know:

Powerful De bugging technique, Run time Issues:

Swift 3 is the first major release of the innovative programming language built completely in the open with the community of developers at Swift.org.
This release unifies core API naming rules under a new public API Naming Guidelines document that makes writing Swift code feel even more natural.
You can also experiment with Swift 3 in the new Swift Playgrounds app for iPad.

Signing is easy and Effective now!

  • Device setup and code signing are greatly simplified, while providing more control when you need it.
  • The new automatically managed code signing generates all the assets you need to properly sign, provision, and run your apps on a connected Apple device.
  • Simply choose your team and Xcode does the rest.
  • You also have the option of hand-picking your provisioning profiles and setting up the signing process for each build configuration.
  • If you run into any issues, improved error messages and logs are available in the Report Navigator.
  • And if you have multiple Macs, Xcode will automatically generate a unique development certificate for each Mac.



Installing Swift on linux:

Swift of Xcode for Linux:



Packages for Linux are tar archives including a copy of the Swift compiler, lldb, and related tools. You can install them anywhere as long as the extracted tools are in your PATH.

Note that nothing prevents Swift from being ported to other Linux distributions beyond the ones mentioned below. These are only the distributions where these binaries have been built and tested.

Ubuntu 14.04, 16.04 or 16.10 (64-bit)

Supported Target Platforms

  • Ubuntu 14.04, 16.04 or 16.10 (64-bit)

Installation Methods

  1. Install required dependencies:
    $ sudo apt-get install clang libicu-dev
  2. Download the binary release the, swift-<VERSION>-<PLATFORM>.tar.gz file is the toolchain itself. The .sig file is the digital signature.
  3. This if for the first time users, the important PGP keys are:
    $ gpg --keyserver hkp://pool.sks-keyservers.net \
          --recv-keys \
          '7463 A81A 4B2E EA1B 551F  FBCF D441 C977 412B 37AD' \
          '1BE1 E29A 084C B305 F397  D62A 9F59 7F4D 21A5 6D5F' \
          'A3BA FD35 56A5 9079 C068  94BD 63BC 1CFE 91D3 06C6'

    Skip this step of the keys have been already imported in the past.

  4. Verify the PGP signature.The .tar.gz archives for Linux are signed using GnuPG with one of the keys of the Swift open source project. Everyone is strongly encouraged to verify the signatures before using the software.
  5. $ gpg --keyserver hkp://pool.sks-keyservers.net --refresh-keys Swift

    Use the signature to verify the intigrity

    $ gpg --verify swift-<VERSION>-<PLATFORM>.tar.gz.sig
    gpg: Good signature from "Swift Automatic Signing Key #1 <swift-infrastructure@swift.org>"

    If gpg fails to verify because you don’t have the public key (gpg: Can't check signature: No public key), please follow the instructions in Active Signing Keys below to import the keys into your keyring.                                                                                                                                                                                                                                                                                                                                                                                                           Potential warning:

    gpg: WARNING: This key is not certified with a trusted signature!
    gpg:          There is no indication that the signature belongs to the owner.

    The warning is harmless as long as you have followed the steps above to retrieve the key from a trusted source.

    Extract the archive with the following command:

  6. $ tar xzf swift-<VERSION>-<PLATFORM>.tar.gz

    This creates a usr/ directory.

  7. Add the Swift tool chain to the path as follows
    $ export PATH=/path/to/usr/bin:"${PATH}"

    You can now execute the swift command to run the REPL or build Swift projects.


  8. Active Signing Keys
    The Swift project uses one set of keys for snapshot builds, and separate keys for every official release. We are using 4096-bit RSA keys.The following key is used to sign toolchain packages:

    Swift Automatic Signing Key #1 <swift-infrastructure@swift.org>

    Xcode Installation

    Xcode Installation

    7463 A81A 4B2E EA1B 551F FBCF D441 C977 412B 37AD
    Long ID


So there you go guys, now you know how to install Xcode for Linux.  We created this article after a long day of research in hopes this suffices your needs. We hope this helps you to install Xcode for Linux.  If you have any queries or opinion on the topic, feel free to let us know in the comment section below.  We will respond to you as soon as possible.  In the mean time, happy coding everyone!

Leave a Reply

Your email address will not be published. Required fields are marked *