Join Kelley Hecker for an in-depth discussion in this video Setting up your iOS Developer account and Xcode, part of Creating Mobile Games with Unity.
To begin developing on iOS devices, you'll need to have an iOS developer account, which is $99 a year. You can register at developer.apple.com. You'll also need to download Xcode, which is free. You can find Xcode on the Mac App Store. Xcode is the interactive development environment used to create iOS apps. We won't be using it directly, but when we build the game community, it will go through Xcode. Once you've installed Xcode, you'll want to select Xcode > Preferences from the menu bar and sign into your Apple developer account.
Select the Accounts tab at the top of the window. Click the plus button in the bottom left and select add Apple id. Enter your username and password, and this will add your account to Xcode. Before you can build to your iOS device, it must be provisioned. This means that it is added to a list called the provisioning profile. This says which device can install the app. To provision your device, first connect it to your computer. Open the Xcode organizer by going to Window > Organizer in the Menu bar.
Select the Devices tab at the top. On the left side, you can see a list of devices. There may be one or several devices here, depending on if you've connected other devices before. The currently connected device will have a dot next to it. Select the device, and in the main panel, click on Use for development or Add to member center. Check the box next to your account name if asked which account to use for provisioning. If a pop up appears saying that no certificate was found go ahead and request one.
Xcode will now go ahead and provision the device. Xcode will generate a new provisioning profile called the team provisioning profile and add your device to it. Now you've set up your iOS developer account and provisioned your device and can begin building apps from Unity.
- Installing SDKs and setting up developer accounts
- Accessing mobile data
- Creating a sprite atlas
- Reading console input on iOS and Android
- Checking the size of your assets