Preparing for iOS and iPadOS
Building apps for Apple mobile devices is a little different from compiling your applications for macOS (desktop computers). Firstly, this must be done on an Apple Macintosh computer (iMac, MacBook Pro, and more) due to licensing restrictions.
Secondly, you must have Xcode tools installed (this is somewhat optional for desktop app creation). Lastly, if you want to test on physical devices or distribute to the store, you will need to be signed up to the Apple developer program, which carries an annual cost.
The Xcode installation is described in the Apple macOS section of Appendix A: Developer Tool Installation. If you have previously done iOS development, this will already be set up.
Next, you will need to have an Apple developer account. If you have not done so already, you can sign up at developer.apple.com/programs/enroll/. There is an annual fee, and if you publish apps but fail to renew your membership, they will be removed from the store...