Executed command :
$ run cordova ios
Error Message ( debug console )
** BUILD SUCCEEDED **
No target specified for emulator. Deploying to iPhone-SE, 10.1 simulator
An error was encountered processing the command (domain=com.apple.CoreSimulator.SimError, code=163):
Invalid device state
An error was encountered processing the command (domain=com.apple.CoreSimulator.SimError, code=163):
Invalid device state
logPath: /Users/camilamacedo/redhat/cases/01747764/sPasteTest-TestRHPush/platforms/ios/cordova/console.log
Solution :
$ xcode-select –install
Environments:
Mac Os X El Capitan 10.11.6
Cordova : v6.4.0
Reason :
The command line tools with Xcode weren’t installed.
More Info :