There are a few steps involved to get the Android SDK: The Android SDK is used to build Android apps. In the next section, we’ll set up the Android SDK. When complete, your account will appear in the list. In the Accounts tab, press + -> Add Apple ID. In the top menu, press Xcode -> Preferences. You should see the Welcome to Xcode screen. Otherwise, a pop-up window will appear asking if you want to install the command line tools, click Yes and wait for these to download and install. If the command line tools are already installed, a message will be shown in the terminal: xcode-select: error: command line tools are already installed. Once Xcode has installed itself, you should open a Terminal window. Xcode is a hefty download, weighing in at over 4GB, so you might want to skip to the next section (installing the Android SDK) while it is downloading, and come back here later. The easiest way to download Xcode is through the Mac App Store: It also comes with a set of command-line tools which are essential for deploying Cordova apps. Xcode is the IDE used on a Mac to create and publish iOS apps. It will help to separate work and personal life. Tip: Even if you already have an Apple ID, consider using a separate Apple ID for development purposes.
This post provides a complete guide on how to install it on a Mac running OS X or macOS, so you can deploy a Cordova-based app to your iOS or Android device. If you are interested in providing updated instructions, please reach out to me and I will look to update this post accordingly.Ĭordova is a popular framework for building hybrid mobile applications. I’m keeping the guide here as a historical reference. I haven’t worked with Cordova since 2018 and so the steps below are likely out of date and may not work. Please note that this guide was last updated on 29th May 2017.