Adding Your Account to Xcode

When you add your Apple ID to the Xcode Accounts preferences, Xcode displays all the Apple Developer Program teams you belong to. Xcode also shows your role on the team and details about your signing identities and provisioning profiles that you’ll create later in this document.

About the Apple Developer Program

Apple Developer Programs provide everything you need to distribute your app. You join the Apple Developer Program to submit your iOS or watchOS app to the App Store, your Mac app to the Mac App Store, and your tvOS app to the Apple TV App Store. You can also distribute your Mac app outside of the Mac App Store. After you join the Apple Developer Program, you can use platform-specific app services that are available depending on the platform and membership in the Apple Developer Program. You also have access to more tools—Member Center and iTunes Connect—where you manage metadata about your organization and your app.

You use your Apple ID, which uniquely identifies you, to enroll in the Apple Developer Program. You create and enroll a team for which you’re the principal developer. You can enroll as an individual or as an organization where an individual is considered a one-person team. The person who creates the team becomes the team agent, the legal contact and administrator of the team who has all privileges and full access to Member Center and iTunes Connect.

Using Member Center, a team agent for an organization can add people to the team and assign roles that define their individual privileges. A team admin can perform nearly all the same tasks as a team agent—for example, a team admin can manage the team but not sign legal agreements. A team member can run apps on devices and use certain app services if approved by a team agent or admin.

To enroll in the program, go to Apple Developer Program Enrollment and follow the instructions.

Add Your Apple ID To Xcode

To get started, add your Apple ID to Accounts preferences in Xcode.

To add an Apple ID to Xcode

  1. Choose Xcode > Preferences.

  2. At the top of the window, click Accounts.

  3. In the lower-left corner, click the Add button (+) .

  4. Choose Add Apple ID from the pop-up menu.

    ../Art/2_addingaccount.shot/Resources/shot_2x.png../Art/2_addingaccount.shot/Resources/shot_2x.png
  5. In the dialog that appears, enter your Apple ID and password, and click Sign In.

    On OS X 10.11 and later, if you have two-step verification for Apple ID enabled, you may need to enter an additional verification code (go to Frequently asked questions about two-step verification for Apple ID to learn more). On earlier operating systems, you may need to enter an app-specific password (go to Using app-specific passwords for how to generate an app-specific password).

    ../Art/2_appleidsignin_2x.png
  6. If you don’t have an Apple ID, click Create Apple ID in the lower-left corner of the dialog.

    After you create an Apple ID, perform these steps again to add your Apple ID to Xcode.

Verify Your Account

If you joined the Apple Developer Program, Xcode uses your Apple ID credentials to sign in to Member Center and iTunes Connect on your behalf. Occasionally, you’ll need to sign in to Member Center and iTunes Connect to perform tasks yourself. Before continuing, verify that Xcode and you have access to these tools.

Verify Your Xcode Account Credentials

In Xcode, verify that your Apple ID appears in Accounts preferences and you can view your account details.

To view account details in Xcode

  1. If necessary, choose Xcode > Preferences, and at the top of the window, click Accounts.

    The teams that you belong to appear in a table to the right of your selected Apple ID. The team name appears in the Name column, and if the team belongs to the Apple Developer Program, your role appears under the iOS or Mac column. Otherwise, Free appears under the platform columns.

    Individuals who choose not to join the Apple Developer Program can still run their apps on devices and use some app services, shown in Supported Capabilities in App Distribution Guide, but they cannot distribute their iOS, tvOS, and watchOS apps to customers.

    ../Art/2_aboutaccountsprefs_2x.png
  2. Select the team you want to view in the table, and click View Details.

    In the dialog that appears, view your signing identities and provisioning profiles. If this is the first time you’re code signing an app, no signing identities or provisioning profiles appear in these tables. Instead a Create button appears in the Action column for each type of signing identity.

    ../Art/2_viewdetailsdialog_2x.png
  3. Click Done to close the dialog.

Verify Your Member Center Credentials

Verify that you have access to Member Center and that the assets in the Certificates, Identifiers, and Profiles area match the assets in Xcode.

To view your code signing and provisioning assets in Member Center

  1. In your browser, go to developer.apple.com.

  2. In the upper-right corner, click Member Center.

  3. In the dialog that appears, enter your Apple ID and password, and click Sign In.

  4. Click the icon or text below Certificates, Identifiers & Profiles.

    ../Art/2_membercenter_2x.png../Art/2_membercenter_2x.png
  5. Under iOS Apps or Mac Apps, click Certificates, Identifiers, Devices, or Provisioning Profiles to view the corresponding assets. (Your tvOS and watchOS assets are located with the iOS assets.)

    ../Art/2_certs_ids_profiles_tunnel_2x.png../Art/2_certs_ids_profiles_tunnel_2x.png

    The certificates and provisioning profiles you view in Member Center should match the signing identities and provisioning profiles that appear in Xcode. If your membership is new, a Getting Started webpage is displayed instead.

    ../Art/2_developerportal_2x.png

Alternatively, go to developer.apple.com/account from your browser to go directly to the Certificates, Identifiers & Profiles webpage. You’ll use Member Center in other verification steps, so don’t sign out yet.

Verify Your iTunes Connect Credentials

You use iTunes Connect to enter metadata about your organization and your app, including information about some app services—In-App Purchase and Game Center—that you may enable later. If you’re the team agent—the person who joined the Apple Developer Program—you have access to iTunes Connect automatically. If you’re a team admin or team member for an organization, you won’t have access to iTunes Connect until the team agent creates an iTunes Connect account for you.

Although iTunes Connect is not used in this document, verify your iTunes Connect credentials now.

To go to iTunes Connect from Member Center

  1. If necessary, sign in to Member Center.

  2. Click the icon or text below iTunes Connect.

    The iTunes Connect main page appears displaying the My Apps, Users and Roles, and other modules. If you are not signed in, the sign-in page appears. Enter your Apple ID and password, and click the arrow button.

    ../Art/2_itunesconnectlogin_2x.png

    Later, you’ll enter information about your app in the My Apps section of iTunes Connect.

  3. In the upper-right corner, choose Sign Out from the pop-up menu.

Alternatively, enter itunesconnect.apple.com in your browser to sign in to iTunes Connect. To learn more about iTunes Connect, read iTunes Connect Developer Guide.

Recap

In this chapter, you learned how to add your Apple ID to Xcode and enroll in the Apple Developer Program. You also learned how to sign into Member Center and iTunes Connect. In the next chapter, you’ll learn how to create your signing identity and team provisioning profile.