To deploy iOS apps to the iOS App Store, you absolutely must have an active Apple Developer account. It costs $99 USD per year to be a part of the program, and you can sign up at developer.apple.com/register.
Once you create an Apple Developer account, you'll need to create an App ID, Production Certificate, and a Distribution Provisioning Profile on the Apple Developer portal. This is the most tedious part of the entire process, as it takes some time to learn what each of these various files do and how to use them:
- For our app, we will begin by creating the App ID with the following:

- Once we create this App ID, we can now create a
Production
certificate:

- Select
Continue
. Then, the next screen will provide instructions on how to sign your production certificate, which we will walk through next. First, open/Applications/Utilities/Keychain Access.app
and then go to the top-left menu and selectCertificate Assistant
|Request...