[ 
https://issues.apache.org/jira/browse/CB-10236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15070149#comment-15070149
 ] 

Zahurul Chowdhury commented on CB-10236:
----------------------------------------

Many thanks for your help.
Tried that approach still no luck.
Then manually installed xcode 7.2 (previous one was 7.1) and no luck.
However after doing the reset contents and settings from xcode's Simulator 
menu, now running "cordova emulate ios" command opens the simulator but blank 
black screen, and same error.

finally giving permission as described in below link fixed the issue.
 
http://zacvineyard.com/blog/2015/11/ionic-invalid-device-state-error-with-xcode-7-solved
 




> emulator fails to load in mac yosamite
> --------------------------------------
>
>                 Key: CB-10236
>                 URL: https://issues.apache.org/jira/browse/CB-10236
>             Project: Apache Cordova
>          Issue Type: Bug
>         Environment: OS: mac yosamite
> cordova version: 5.4.1
> cordova info: xcode 7.1.1 build 7B1005
> plugin: cordova-plugin-whitelist 
>            Reporter: Zahurul Chowdhury
>
> No target specified for emulator. Deploying to iPhone-6 simulator
> An error was encountered processing the command 
> (domain=com.apple.CoreSimulator.SimError, code=159):
> Invalid device state
> An error was encountered processing the command 
> (domain=com.apple.CoreSimulator.SimError, code=159):
> Invalid device state
> ENOENT, no such file or directory 
> '/Users/duke/Library/Logs/CoreSimulator/6FB3E6C7-2510-4A0D-BE27-52B0A5237649/system.log'
> Error code 1 for command: ios-sim with args: 
> launch,/Users/duke/Documents/Cordova/Code/hello/platforms/ios/build/emulator/HelloWorld.app,--devicetypeid,com.apple.CoreSimulator.SimDeviceType.iPhone-6,--stderr,/Users/duke/Documents/Cordova/Code/hello/platforms/ios/cordova/console.log,--stdout,/Users/duke/Documents/Cordova/Code/hello/platforms/ios/cordova/console.log,--exit
> Error: /Users/duke/Documents/Cordova/Code/hello/platforms/ios/cordova/run: 
> Command failed with exit code 2



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to