The development provisioning profile and development certificate that I’ve been using are only for specific devices. In order to distribute my app to beta testers or to users through the App Store, I’ll need a separate distribution provisioning profile and distribution certificate. The easiest way to do this is through X code. If automatic signing is enabled, X code will create and manage certificates, signing identities, and handle device registration for you. If automatic signing is already enabled or if I don’t need help with signing, I can skip to step two. (In some cases, I might prefer manual signing. Here‘s an in-depth tutorial for how to manually sign my app. Keep in mind that all targets in a bundle should use the same signing method.)First, add my Developer Program account to X code if I haven’t already. From the top menu, select X code, then choose Preferences. Click on Accounts. In the bottom left corner of the window, press the + sign, then Add Apple ID…. Enter the Apple ID and password I use for the Apple Developer Program, then click Sign In. Next, enable automatic signing. From the Project Editor, choose a target and select General. Scroll down to the “Signing” section and click on the triangle icon to expand the settings. Click on the box to Automatically manage signing. Select my team. When I connect a new device to your Mac, X code will automatically detect and register it to my team provisioning profile. Note that in order to launch my app on a device, the device needs to be registered on my team provisioning profile.