Xcode is Apple's integrated development environment for creating applications on iOS, Mac, and Safari.
First, register as an Apple Developer for free to learn Xcode.
Second, register as an iOS Developer for pay to publish iOS content.
Or, register as a Mac Developer for pay to publish Mac content.
Or, register as a Safari Developer for free to publish Safari content.