Before publishing an app to the App Store, you should have an Apple Developer Program subscription. This is a paid subscription and a prerequisite for this recipe and all the other recipes in this chapter that target iOS.
In order to follow the App Store Connect publication steps, you should have a Mac with Xcode installed.
You should also have an app that's ready to be published, at least in beta.