Note that you need to add the platforms to build the app. However, if you use the standard template from the Ionic CLI, it should already have the iOS platform included. To build and run for Android, you can replace iOS with Android.
To emulate the app using the ios emulator, use the following command line:
$ ionic cordova emulate ios
To run the app on the actual physical iPhone device, use the command line as shown: