This quick start applies to all platforms (iOS, tvOS, watchOS, and Mac) except where otherwise indicated. You do not need to join the Apple Developer Program to perform the steps in this book. You just need an Apple ID which you can create following the steps in this document.
This quick start requires:
A Mac computer with Xcode 7.1 or later installed
For the best experience, the latest OS X and Xcode releases installed
An Xcode project that builds without errors
Optionally, join the Apple Developer Program to use all the app services available to the platform. If you don’t join the Apple Developer Program, the capabilities you add to your app may be limited. Later, you must join the Apple Developer Program to distribute your app through the store.
Install the Latest Version of Xcode
Xcode, Apple’s integrated development environment (IDE), is the primary tool for developing your app. It includes a source editor, a graphical user interface editor, and many other features. Xcode simplifies the provisioning and code signing process so that you don’t need to leave Xcode to develop your app. Later in the distribution process, you’ll use Xcode and other tools to distribute your app for beta testing and to the store.
To install the latest version of Xcode, go to the Mac App Store.
Create an Xcode Project
If you don’t have an Xcode project that builds and runs without errors, you can create a simple app now just to learn the code signing and provisioning steps in this document.
To create an Xcode project
Choose File > New > Project, or click “Create a new Xcode project” in the “Welcome to Xcode” window.
Under the operating system you want to target, select Application, select a template from the list of templates, and click Next.
For example, to create an app with a single empty window, for iOS apps select Single View Application, and for Mac apps, select Cocoa Application.
In the dialog that appears, fill in the Product Name and Company Identifier text fields.
The company identifier should be in reverse DNS format. If you don’t have a company identifier, use
com.example.followed by your name, and replace it later. The other default values in this dialog should suffice for now. The following screenshot shows options for creating an iOS app. For tvOS, watchOS, and Mac apps, options are similar, but not identical.
From the Language pop-up menu, choose a programming language .
A dialog asks you where to save your project.
Specify a location for your project, optionally deselect “Create git repository on,” and click Create.
For iOS apps, a new project window appears, similar to the one below.
Enroll in a Developer Program
If you plan to submit your app to the store or distribute it for testing using TestFlight, you first need to join the Apple Developer Program or join a team that is enrolled in the Apple Developer Program.
To enroll in the program, go to the Apple Developer Program Enrollment website and follow the instructions.