How to Create a Free Apple Developer Account
If you want to run your iOS apps on your iPhone or iPad, you’ll need a free Apple Developer Account. Since Xcode 7, you can use your Apple ID to run and install your own apps on iPhone and iPad. You’ll still need a paid Developer Program membership to publish apps in the App Store, and to use App Store Connect.
In this tutorial, we’ll discuss:
- How to get a free Developer Account with your Apple ID
- Connecting Xcode on your Mac to your new Developer Account
- Running (“sideloading”) your apps on your iPhone or iPad
- How to enroll in the paid Apple Developer Program
Let’s get to it!
- Create an Apple Developer Account
- Sign into Xcode with Your Dev Account
- Sideload/Run Apps on Your iPhone
- Enroll in the Apple Developer Program
- Further Reading
Create an Apple Developer Account
Let’s get you set up with a free account, which will allow you to run your own iOS apps on iPhone and iPad – with zero costs.
First, go to developer.apple.com and click Account.
You’re now asked to log into the Member Center. You have two options:
- Log in with an existing Apple ID
- Create a new Apple ID
If you’re already using Apple’s services, chances are you already have an Apple ID. It’s OK to use this Apple ID to sign up for a Developer Account. If you want to keep things separated, then opt to create a new Apple ID.
Once you’ve successfully logged in, you’re asked to accept the Apple Developer Agreement. Simply check the boxes and continue to the next page.
That’s it! Your Apple ID now gives you access to the free Apple Developer Account. With it, you can run your own iPhone and iPad apps on your devices. This is done in Xcode, which we’ll cover in the next step.
Keep in mind that, to publish apps in the App Store, you still need that $99/year paid Apple Developer account. You also can’t download iOS, macOS, etc. betas with the free account, which is a bummer.
Apple’s Developer portal, at developer.apple.com, is a pretty cool place to hang out! You’ve got access to WWDC videos, the Human Interface Guidelines, documentation, helpful tips for app promotion, and much more. I wrote an in-depth guide about making the most of Apple’s docs, here: How To Use Apple’s Developer Documentation For Fun And Profit
Sign into Xcode with Your Dev Account
Alright, the next step is enabling your developer account in Xcode. Here’s how:
- Start Xcode on your Mac
- Choose the menu and navigate to the Account pane
- Click the
+-button in the bottom-left corner and choose Apple ID
- Log in with your Apple ID email address and password (Keep a 2FA device handy! You do use 2FA, right?)
You now have access to your Developer Account in Xcode! Easy, right? The developer account you added is called “Personal Team”, which should show up in the list on the right.
A few interesting notes:
- You can add multiple Developer Accounts under one Apple ID. For example, if you choose to add a client’s or employer’s paid developer account, you can do so. (You can also add multiple Apple IDs to Xcode.)
- If you’ve signed into iCloud prior to starting Xcode, and added the free dev account to your iCloud Apple ID, it should automatically show up under Accounts. (This isn’t always the case though!)
Sideload/Run Apps on Your iPhone
The next step is running your own iOS app on your iPhone and iPad! First, make sure your iPhone (or iPad) is connected to your Mac via USB. When your iPhone prompts you to confirm connecting to your Mac, tap Trust.
Then, in Xcode, choose themenu. Select your iPhone from the list, and then click the Enable Device for Development button. (Depending on the context, this may not be a necessary step.) It’s also smart to enable the Connect via network option, which lets you debug apps on your iPhone without connecting via USB.
The next step, which isn’t always required, is changing the Signing & Capabilities setting of the project you’re about to run. You can do this by navigating to the project settings, then select the project name below Targets, and go to the Signing & Capabilities tab. Click the checkbox for Automatically manage signing, and then select your Personal Team from the dropdown list.
If everything went according to plan (does it ever!?), you should now be able to select your iPhone in the top-left corner of Xcode. This is the Build Target setting, and with it you can select the device (or simulator) your app needs to run on.
You can now click the Play button or hit Command + R to install and run the app on your iPhone!
Running your app on your iPhone is finicky at times. Did you get an error? Copy-and-paste it into Google, and check out some of the first StackOverflow questions and answers. Miraculously, restarting Xcode helps 8 out 10 times… Have you tried turning it off and on again!?
Enroll in the Apple Developer Program
If you’re serious about publishing an app in the App Store, you’ll need to get a paid Apple Developer account. The standard Apple Developer Program license costs $99 a year, which renews annually. You’ll need the license to keep your app in the App Store, too.
With this account, you’re allowed to publish live apps in the App Store, access members-only resources, SDKs and betas, and beta test your app via TestFlight. It’ll also give you access to App Store Connect (formerly called iTunes Connect), with which you can manage your production apps.
You’ve got a few options to choose from:
- You can choose between a Personal or Organization account. The biggest difference is how your app appears in the App Store. A Personal account will show your personal name, whereas a Organization account shows your company name. You can only sign up for a company account if you’ve registered as a company, i.e. incorporated, a joint venture or sole proprietorship.
- You can also sign up for the Enterprise Program, which allows you to distribute private apps within your company. You’ll need at least 100 employees to be eligible; the rules are quite strict. However, it’s an option to keep in mind if you’re going to build an in-house app for a client or employer. Similarly, the Apple Volume Purchase Program and the B2B App Store are options to keep in mind for later.
If you want to register as a company, you’ll need a DUNS number. This is essentially an outside verification that you’ve registered as a company. Acquiring a DUNS number is often free and reasonably quick.
You can get started with enrolling in the Developer account here.
Awesome! You now have everything you need to build and run your own apps on your iPhone or iPad. And it’s (almost) all free! Here’s the gist of what we discussed:
- You can run your own iOS apps on your iPhone if you’ve got an Apple ID, and enable it in Xcode
- You’ll need a $99/year Apple Developer Program license if you want to publish your apps in the App Store, and get a bunch of resources
Want to learn more? Check out these resources:
Code Swift right in your browser!
Go to the Swift Sandbox