3d cartoon hands holding a phone

Unlock full course by purchasing a membership

Lesson 4

Installing Xcode (Optional)

Build for iOS and the Apple App Store


Installing Xcode (Optional)

In order to run applications on your iOS device, and submit them to the Apple App Store, you will need Xcode. You can download this from the Apple App Store (this will require a macOS).

As well as installing Xcode itself, you will also need to install Cocoapods and the Xcode CLI tools. You can do that by running the following commands:

sudo gem install cocoapods
xcode-select --install

Once you have installed Xcode, make sure to open it at least once so that it can install the necessary components. You should also run the following command from time to time to make sure the CocoaPods dependencies are up to date (Pods are kind of like npm packages for iOS):

pod repo update