iOS

To build iOS apps:

cordova platform add ios

Generally speaking, you need a Mac computer to publish apps on Apple App Store. (Should you wish to publish Apple apps without a Mac, consider using the service of Adobe PhoneGap Build or a Mac Virtual Machine.)

On the Mac, download Xcode from the App Store. From Xcode, open the workspace file: [project]/platforms/ios/my-app.xcworkspaceSelect the intended device from the toolbar's Scheme menu. Press the Run button in the same toolbar. That builds, deploys, and runs the application in the simulator.

To deploy to a device, use the USB cable to plug the device into your Mac. Select the name of the project in the Xcode window's Scheme drop-down list. Select your device from the Device drop-down list. If it is plugged via USB but still does not appear, press the Organizer button to resolve any errors. Press the Run button to build, deploy, and run the application on your device. You should see a virtual iPhone on your Mac running your app.

Before you can publish an app on Apple App Store, you will need to sign your code to assure users that it is from a known source and the app has not been modified since it was last signed: 1) Add your Apple ID to Accounts preferences2) Assign the targets in your project to a team3) Add capabilities to your app4) Run your app on a device5) Export your signing certificates and provisioning profiles

To publish your app on Apple App Store:1) Provide an App Store icon2) Enter additional information in App Store Connect3) Archive, validate, and upload your app by navigating to Product > Archive in XCode

4) Submit your app to App Review

Publishing apps on Apple App Store costs a fee of USD99 annually.