{"action":"created","comment":{"url":"https://api.github.com/repos/fastlane/fastlane_core/pulls/comments/43420253","id":43420253,"diff_hunk":"@@ -4,32 +4,33 @@ module FastlaneCore\n   class Simulator\n     class << self\n       def all\n-        return @devices if @devices\n         Helper.log.info \"Fetching available devices\" if $verbose\n \n-        # we do it using open since ` just randomly hangs with instruments -s\n+        @devices = []\n+        os_type = 'unknown'\n+        os_version = 'unknown'\n         output = ''\n-        Open3.popen3('instruments -s') do |stdin, stdout, stderr, wait_thr|","path":"lib/fastlane_core/simulator.rb","position":12,"original_position":12,"commit_id":"7be0dca866329ae6ce133c26e4c4218478ef8179","original_commit_id":"7be0dca866329ae6ce133c26e4c4218478ef8179","user":{"login":"KrauseFx","id":869950,"avatar_url":"https://avatars.githubusercontent.com/u/869950?v=3","gravatar_id":"","url":"https://api.github.com/users/KrauseFx","html_url":"https://github.com/KrauseFx","followers_url":"https://api.github.com/users/KrauseFx/followers","following_url":"https://api.github.com/users/KrauseFx/following{/other_user}","gists_url":"https://api.github.com/users/KrauseFx/gists{/gist_id}","starred_url":"https://api.github.com/users/KrauseFx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KrauseFx/subscriptions","organizations_url":"https://api.github.com/users/KrauseFx/orgs","repos_url":"https://api.github.com/users/KrauseFx/repos","events_url":"https://api.github.com/users/KrauseFx/events{/privacy}","received_events_url":"https://api.github.com/users/KrauseFx/received_events","type":"User","site_admin":false},"body":"Oh wow, `xcrun simctl list devices` is so much faster! :+1: ","created_at":"2015-10-29T17:51:48Z","updated_at":"2015-10-29T17:51:48Z","html_url":"https://github.com/fastlane/fastlane_core/pull/40#discussion_r43420253","pull_request_url":"https://api.github.com/repos/fastlane/fastlane_core/pulls/40","_links":{"self":{"href":"https://api.github.com/repos/fastlane/fastlane_core/pulls/comments/43420253"},"html":{"href":"https://github.com/fastlane/fastlane_core/pull/40#discussion_r43420253"},"pull_request":{"href":"https://api.github.com/repos/fastlane/fastlane_core/pulls/40"}}},"pull_request":{"url":"https://api.github.com/repos/fastlane/fastlane_core/pulls/40","id":49122469,"html_url":"https://github.com/fastlane/fastlane_core/pull/40","diff_url":"https://github.com/fastlane/fastlane_core/pull/40.diff","patch_url":"https://github.com/fastlane/fastlane_core/pull/40.patch","issue_url":"https://api.github.com/repos/fastlane/fastlane_core/issues/40","number":40,"state":"open","locked":false,"title":"Avoid returning watchOS and tvOS simulators","user":{"login":"adamcohenrose","id":104097,"avatar_url":"https://avatars.githubusercontent.com/u/104097?v=3","gravatar_id":"","url":"https://api.github.com/users/adamcohenrose","html_url":"https://github.com/adamcohenrose","followers_url":"https://api.github.com/users/adamcohenrose/followers","following_url":"https://api.github.com/users/adamcohenrose/following{/other_user}","gists_url":"https://api.github.com/users/adamcohenrose/gists{/gist_id}","starred_url":"https://api.github.com/users/adamcohenrose/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamcohenrose/subscriptions","organizations_url":"https://api.github.com/users/adamcohenrose/orgs","repos_url":"https://api.github.com/users/adamcohenrose/repos","events_url":"https://api.github.com/users/adamcohenrose/events{/privacy}","received_events_url":"https://api.github.com/users/adamcohenrose/received_events","type":"User","site_admin":false},"body":"instruments now returns watchOS and tvOS, for example:\r\n\r\niPhone 6 (9.0) + Apple Watch - 38mm (2.0) [66D1BF17-3003-465F-A165-E6E3A565E5EB]\r\nApple TV 1080p (9.0) [D239A51B-A61C-4B60-B4D6-B7EC16595128]\r\n\r\nxcrun simctl list devices returns simulators for all Xcodes on the machine, so when listing available simulators we need to exclude those marked unavailable to the current Xcode\r\n\r\nAlthough Xcode 7 includes JSON output from simctl list, I have used the older line style as this remains compatible with Xcode 6.4 (for those who still need to test against iOS 7 like me).","created_at":"2015-10-29T10:40:21Z","updated_at":"2015-10-29T17:51:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5e361ea44654711f27b34e01f49b0fe04b625215","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/fastlane/fastlane_core/pulls/40/commits","review_comments_url":"https://api.github.com/repos/fastlane/fastlane_core/pulls/40/comments","review_comment_url":"https://api.github.com/repos/fastlane/fastlane_core/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fastlane/fastlane_core/issues/40/comments","statuses_url":"https://api.github.com/repos/fastlane/fastlane_core/statuses/7be0dca866329ae6ce133c26e4c4218478ef8179","head":{"label":"adamcohenrose:patch-1","ref":"patch-1","sha":"7be0dca866329ae6ce133c26e4c4218478ef8179","user":{"login":"adamcohenrose","id":104097,"avatar_url":"https://avatars.githubusercontent.com/u/104097?v=3","gravatar_id":"","url":"https://api.github.com/users/adamcohenrose","html_url":"https://github.com/adamcohenrose","followers_url":"https://api.github.com/users/adamcohenrose/followers","following_url":"https://api.github.com/users/adamcohenrose/following{/other_user}","gists_url":"https://api.github.com/users/adamcohenrose/gists{/gist_id}","starred_url":"https://api.github.com/users/adamcohenrose/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamcohenrose/subscriptions","organizations_url":"https://api.github.com/users/adamcohenrose/orgs","repos_url":"https://api.github.com/users/adamcohenrose/repos","events_url":"https://api.github.com/users/adamcohenrose/events{/privacy}","received_events_url":"https://api.github.com/users/adamcohenrose/received_events","type":"User","site_admin":false},"repo":{"id":45176181,"name":"fastlane_core","full_name":"adamcohenrose/fastlane_core","owner":{"login":"adamcohenrose","id":104097,"avatar_url":"https://avatars.githubusercontent.com/u/104097?v=3","gravatar_id":"","url":"https://api.github.com/users/adamcohenrose","html_url":"https://github.com/adamcohenrose","followers_url":"https://api.github.com/users/adamcohenrose/followers","following_url":"https://api.github.com/users/adamcohenrose/following{/other_user}","gists_url":"https://api.github.com/users/adamcohenrose/gists{/gist_id}","starred_url":"https://api.github.com/users/adamcohenrose/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamcohenrose/subscriptions","organizations_url":"https://api.github.com/users/adamcohenrose/orgs","repos_url":"https://api.github.com/users/adamcohenrose/repos","events_url":"https://api.github.com/users/adamcohenrose/events{/privacy}","received_events_url":"https://api.github.com/users/adamcohenrose/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/adamcohenrose/fastlane_core","description":"All shared code of the fastlane toolchain","fork":true,"url":"https://api.github.com/repos/adamcohenrose/fastlane_core","forks_url":"https://api.github.com/repos/adamcohenrose/fastlane_core/forks","keys_url":"https://api.github.com/repos/adamcohenrose/fastlane_core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/adamcohenrose/fastlane_core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/adamcohenrose/fastlane_core/teams","hooks_url":"https://api.github.com/repos/adamcohenrose/fastlane_core/hooks","issue_events_url":"https://api.github.com/repos/adamcohenrose/fastlane_core/issues/events{/number}","events_url":"https://api.github.com/repos/adamcohenrose/fastlane_core/events","assignees_url":"https://api.github.com/repos/adamcohenrose/fastlane_core/assignees{/user}","branches_url":"https://api.github.com/repos/adamcohenrose/fastlane_core/branches{/branch}","tags_url":"https://api.github.com/repos/adamcohenrose/fastlane_core/tags","blobs_url":"https://api.github.com/repos/adamcohenrose/fastlane_core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/adamcohenrose/fastlane_core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/adamcohenrose/fastlane_core/git/refs{/sha}","trees_url":"https://api.github.com/repos/adamcohenrose/fastlane_core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/adamcohenrose/fastlane_core/statuses/{sha}","languages_url":"https://api.github.com/repos/adamcohenrose/fastlane_core/languages","stargazers_url":"https://api.github.com/repos/adamcohenrose/fastlane_core/stargazers","contributors_url":"https://api.github.com/repos/adamcohenrose/fastlane_core/contributors","subscribers_url":"https://api.github.com/repos/adamcohenrose/fastlane_core/subscribers","subscription_url":"https://api.github.com/repos/adamcohenrose/fastlane_core/subscription","commits_url":"https://api.github.com/repos/adamcohenrose/fastlane_core/commits{/sha}","git_commits_url":"https://api.github.com/repos/adamcohenrose/fastlane_core/git/commits{/sha}","comments_url":"https://api.github.com/repos/adamcohenrose/fastlane_core/comments{/number}","issue_comment_url":"https://api.github.com/repos/adamcohenrose/fastlane_core/issues/comments{/number}","contents_url":"https://api.github.com/repos/adamcohenrose/fastlane_core/contents/{+path}","compare_url":"https://api.github.com/repos/adamcohenrose/fastlane_core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/adamcohenrose/fastlane_core/merges","archive_url":"https://api.github.com/repos/adamcohenrose/fastlane_core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/adamcohenrose/fastlane_core/downloads","issues_url":"https://api.github.com/repos/adamcohenrose/fastlane_core/issues{/number}","pulls_url":"https://api.github.com/repos/adamcohenrose/fastlane_core/pulls{/number}","milestones_url":"https://api.github.com/repos/adamcohenrose/fastlane_core/milestones{/number}","notifications_url":"https://api.github.com/repos/adamcohenrose/fastlane_core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/adamcohenrose/fastlane_core/labels{/name}","releases_url":"https://api.github.com/repos/adamcohenrose/fastlane_core/releases{/id}","created_at":"2015-10-29T10:27:25Z","updated_at":"2015-10-29T10:27:25Z","pushed_at":"2015-10-29T17:38:41Z","git_url":"git://github.com/adamcohenrose/fastlane_core.git","ssh_url":"git@github.com:adamcohenrose/fastlane_core.git","clone_url":"https://github.com/adamcohenrose/fastlane_core.git","svn_url":"https://github.com/adamcohenrose/fastlane_core","homepage":"https://fastlane.tools","size":903,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"fastlane:master","ref":"master","sha":"55c921f5028bd3e360a94720deba501b4394458d","user":{"login":"fastlane","id":11098337,"avatar_url":"https://avatars.githubusercontent.com/u/11098337?v=3","gravatar_id":"","url":"https://api.github.com/users/fastlane","html_url":"https://github.com/fastlane","followers_url":"https://api.github.com/users/fastlane/followers","following_url":"https://api.github.com/users/fastlane/following{/other_user}","gists_url":"https://api.github.com/users/fastlane/gists{/gist_id}","starred_url":"https://api.github.com/users/fastlane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fastlane/subscriptions","organizations_url":"https://api.github.com/users/fastlane/orgs","repos_url":"https://api.github.com/users/fastlane/repos","events_url":"https://api.github.com/users/fastlane/events{/privacy}","received_events_url":"https://api.github.com/users/fastlane/received_events","type":"Organization","site_admin":false},"repo":{"id":30920813,"name":"fastlane_core","full_name":"fastlane/fastlane_core","owner":{"login":"fastlane","id":11098337,"avatar_url":"https://avatars.githubusercontent.com/u/11098337?v=3","gravatar_id":"","url":"https://api.github.com/users/fastlane","html_url":"https://github.com/fastlane","followers_url":"https://api.github.com/users/fastlane/followers","following_url":"https://api.github.com/users/fastlane/following{/other_user}","gists_url":"https://api.github.com/users/fastlane/gists{/gist_id}","starred_url":"https://api.github.com/users/fastlane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fastlane/subscriptions","organizations_url":"https://api.github.com/users/fastlane/orgs","repos_url":"https://api.github.com/users/fastlane/repos","events_url":"https://api.github.com/users/fastlane/events{/privacy}","received_events_url":"https://api.github.com/users/fastlane/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fastlane/fastlane_core","description":"All shared code of the fastlane toolchain","fork":false,"url":"https://api.github.com/repos/fastlane/fastlane_core","forks_url":"https://api.github.com/repos/fastlane/fastlane_core/forks","keys_url":"https://api.github.com/repos/fastlane/fastlane_core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fastlane/fastlane_core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fastlane/fastlane_core/teams","hooks_url":"https://api.github.com/repos/fastlane/fastlane_core/hooks","issue_events_url":"https://api.github.com/repos/fastlane/fastlane_core/issues/events{/number}","events_url":"https://api.github.com/repos/fastlane/fastlane_core/events","assignees_url":"https://api.github.com/repos/fastlane/fastlane_core/assignees{/user}","branches_url":"https://api.github.com/repos/fastlane/fastlane_core/branches{/branch}","tags_url":"https://api.github.com/repos/fastlane/fastlane_core/tags","blobs_url":"https://api.github.com/repos/fastlane/fastlane_core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fastlane/fastlane_core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fastlane/fastlane_core/git/refs{/sha}","trees_url":"https://api.github.com/repos/fastlane/fastlane_core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fastlane/fastlane_core/statuses/{sha}","languages_url":"https://api.github.com/repos/fastlane/fastlane_core/languages","stargazers_url":"https://api.github.com/repos/fastlane/fastlane_core/stargazers","contributors_url":"https://api.github.com/repos/fastlane/fastlane_core/contributors","subscribers_url":"https://api.github.com/repos/fastlane/fastlane_core/subscribers","subscription_url":"https://api.github.com/repos/fastlane/fastlane_core/subscription","commits_url":"https://api.github.com/repos/fastlane/fastlane_core/commits{/sha}","git_commits_url":"https://api.github.com/repos/fastlane/fastlane_core/git/commits{/sha}","comments_url":"https://api.github.com/repos/fastlane/fastlane_core/comments{/number}","issue_comment_url":"https://api.github.com/repos/fastlane/fastlane_core/issues/comments{/number}","contents_url":"https://api.github.com/repos/fastlane/fastlane_core/contents/{+path}","compare_url":"https://api.github.com/repos/fastlane/fastlane_core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fastlane/fastlane_core/merges","archive_url":"https://api.github.com/repos/fastlane/fastlane_core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fastlane/fastlane_core/downloads","issues_url":"https://api.github.com/repos/fastlane/fastlane_core/issues{/number}","pulls_url":"https://api.github.com/repos/fastlane/fastlane_core/pulls{/number}","milestones_url":"https://api.github.com/repos/fastlane/fastlane_core/milestones{/number}","notifications_url":"https://api.github.com/repos/fastlane/fastlane_core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fastlane/fastlane_core/labels{/name}","releases_url":"https://api.github.com/repos/fastlane/fastlane_core/releases{/id}","created_at":"2015-02-17T14:37:31Z","updated_at":"2015-09-30T19:28:05Z","pushed_at":"2015-10-29T17:38:42Z","git_url":"git://github.com/fastlane/fastlane_core.git","ssh_url":"git@github.com:fastlane/fastlane_core.git","clone_url":"https://github.com/fastlane/fastlane_core.git","svn_url":"https://github.com/fastlane/fastlane_core","homepage":"https://fastlane.tools","size":903,"stargazers_count":19,"watchers_count":19,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":23,"mirror_url":null,"open_issues_count":6,"forks":23,"open_issues":6,"watchers":19,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/fastlane/fastlane_core/pulls/40"},"html":{"href":"https://github.com/fastlane/fastlane_core/pull/40"},"issue":{"href":"https://api.github.com/repos/fastlane/fastlane_core/issues/40"},"comments":{"href":"https://api.github.com/repos/fastlane/fastlane_core/issues/40/comments"},"review_comments":{"href":"https://api.github.com/repos/fastlane/fastlane_core/pulls/40/comments"},"review_comment":{"href":"https://api.github.com/repos/fastlane/fastlane_core/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fastlane/fastlane_core/pulls/40/commits"},"statuses":{"href":"https://api.github.com/repos/fastlane/fastlane_core/statuses/7be0dca866329ae6ce133c26e4c4218478ef8179"}}}}