Next, let's create a production provisioning profile, which is used for distributing your application. Xcode 8 creates these for you, but, again, it is still good to know how to do it:
Log in to the Apple developer account, and you will see the following screen:
Click on Certificates, Identifiers & Profiles and, under Provisioning Profiles, select All.
Click on the + at the top right of the screen:
Select App Store under Distribution and, then, click on Continue:
Select the Bundle ID created earlier and, then, click on Continue:
Next, select the certificate created earlier and, then, click on Continue:
Next, enter the Profile Name,
Lets Eat Prod
and, then, click on Continue:Install the downloaded certificate by double-clicking on it.