[Cordova] – What to do when we are getting the message error “An error was encountered processing the command (domain=com.apple.CoreSimulator.SimError, code=163)” ?

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 :

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s