{"action":"created","issue":{"url":"https://api.github.com/repos/driftyco/ionic-cli/issues/1090","repository_url":"https://api.github.com/repos/driftyco/ionic-cli","labels_url":"https://api.github.com/repos/driftyco/ionic-cli/issues/1090/labels{/name}","comments_url":"https://api.github.com/repos/driftyco/ionic-cli/issues/1090/comments","events_url":"https://api.github.com/repos/driftyco/ionic-cli/issues/1090/events","html_url":"https://github.com/driftyco/ionic-cli/issues/1090","id":161045178,"number":1090,"title":"iOS Serve - Invalid device state","user":{"login":"Jalsemgeest","id":8116866,"avatar_url":"https://avatars.githubusercontent.com/u/8116866?v=3","gravatar_id":"","url":"https://api.github.com/users/Jalsemgeest","html_url":"https://github.com/Jalsemgeest","followers_url":"https://api.github.com/users/Jalsemgeest/followers","following_url":"https://api.github.com/users/Jalsemgeest/following{/other_user}","gists_url":"https://api.github.com/users/Jalsemgeest/gists{/gist_id}","starred_url":"https://api.github.com/users/Jalsemgeest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jalsemgeest/subscriptions","organizations_url":"https://api.github.com/users/Jalsemgeest/orgs","repos_url":"https://api.github.com/users/Jalsemgeest/repos","events_url":"https://api.github.com/users/Jalsemgeest/events{/privacy}","received_events_url":"https://api.github.com/users/Jalsemgeest/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-06-18T21:54:14Z","updated_at":"2016-07-05T18:01:20Z","closed_at":null,"body":"My build succeeds although I get the following message:\r\n\r\n```\r\nNo target specified for emulator. Deploying to iPhone-6s-Plus, 9.2 simulator\r\n\r\n\r\nAn error was encountered processing the command (domain=com.apple.CoreSimulator.SimError, code=159):\r\n\r\nInvalid device state\r\n\r\nAn error was encountered processing the command (domain=com.apple.CoreSimulator.SimError, code=159):\r\n\r\nInvalid device state\r\n\r\nError: ENOENT: no such file or directory, stat '/Users/<USER>/Library/Logs/CoreSimulator/5F9AE045-0A0E-4D19-8C24-55507A3D8D85/system.log'\r\n\r\nCaught exception:\r\nundefined\r\n```"},"comment":{"url":"https://api.github.com/repos/driftyco/ionic-cli/issues/comments/230554539","html_url":"https://github.com/driftyco/ionic-cli/issues/1090#issuecomment-230554539","issue_url":"https://api.github.com/repos/driftyco/ionic-cli/issues/1090","id":230554539,"user":{"login":"Vanclief","id":13844339,"avatar_url":"https://avatars.githubusercontent.com/u/13844339?v=3","gravatar_id":"","url":"https://api.github.com/users/Vanclief","html_url":"https://github.com/Vanclief","followers_url":"https://api.github.com/users/Vanclief/followers","following_url":"https://api.github.com/users/Vanclief/following{/other_user}","gists_url":"https://api.github.com/users/Vanclief/gists{/gist_id}","starred_url":"https://api.github.com/users/Vanclief/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vanclief/subscriptions","organizations_url":"https://api.github.com/users/Vanclief/orgs","repos_url":"https://api.github.com/users/Vanclief/repos","events_url":"https://api.github.com/users/Vanclief/events{/privacy}","received_events_url":"https://api.github.com/users/Vanclief/received_events","type":"User","site_admin":false},"created_at":"2016-07-05T18:01:20Z","updated_at":"2016-07-05T18:01:20Z","body":"Having the same error, I have tried the following:\r\n\r\n- Empty the 'platforms' folder then reinstall ionic platform (ionic platform add ios)\r\n-  sudo chown -R my user folder\r\n\r\nIf I run it with sudo I get a different error:\r\n\r\nError code 65 for command: xcodebuild with args: .....\r\n"}}
{"actor":{"display_login":"Vanclief"}}