iOS Deployment on Xcode for Ionic

Learn the Commond Commands for Ionic Capacitor in Xcode and CLI. Simple Guide for your Reference to Copy and Paste.

These are my commands to get started with deployment on Xcode with Ionic.

So to add ios on Ionic with Capacitor do the following:

$ ionic capacitor add ios

If you want to open the project in Xcode you can do the following

$ ionic capacitor open ios

If you made updates to your HTML or js you need to run the following commands so it shows on Xcode

$ ionic capacitor copy ios
$ ionic capacitor update

Although this is pretty cool I like to run Capacitor on CLI makes it a little bit easier

ionic capacitor run ios -l --external