{"action":"created","comment":{"url":"https://api.github.com/repos/bitrise-steplib/steps-ios-auto-provision/pulls/comments/154983757","pull_request_review_id":81220645,"id":154983757,"diff_hunk":"@@ -164,11 +193,109 @@ def force_code_sign_properties(project_path, target, development_team, code_sign\n       end\n     end\n \n+    raise \"target (#{target_name}) not found in project: #{targets_project_path}\" unless target_found\n+    raise \"configuration (#{@configuration_name}) does not exist in project: #{targets_project_path}\" unless configuration_found\n+\n     project.save\n   end\n \n   private\n \n+  def read_scheme(scheme_name)\n+    project_paths = [@project_path]\n+    if File.extname(@project_path) == '.xcworkspace'\n+      project_paths += workspace_contained_projects(@project_path)\n+    end\n+\n+    project_paths.each do |project_path|\n+      scheme_pth = shared_scheme_path(project_path, scheme_name)\n+      scheme_pth = user_scheme_path(project_path, scheme_name) unless File.exist?(scheme_pth)\n+      next unless File.exist?(scheme_pth)\n+\n+      return [Xcodeproj::XCScheme.new(scheme_pth), project_path]","path":"project_helper/project_helper.rb","position":254,"original_position":254,"commit_id":"3e9d4622d1ac1109b626f28f62048bfbbac0679c","original_commit_id":"077cd5552098099377d72f59ecef05ceac3bdb80","user":{"login":"gaborszakacs","id":6256480,"avatar_url":"https://avatars3.githubusercontent.com/u/6256480?v=4","gravatar_id":"","url":"https://api.github.com/users/gaborszakacs","html_url":"https://github.com/gaborszakacs","followers_url":"https://api.github.com/users/gaborszakacs/followers","following_url":"https://api.github.com/users/gaborszakacs/following{/other_user}","gists_url":"https://api.github.com/users/gaborszakacs/gists{/gist_id}","starred_url":"https://api.github.com/users/gaborszakacs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaborszakacs/subscriptions","organizations_url":"https://api.github.com/users/gaborszakacs/orgs","repos_url":"https://api.github.com/users/gaborszakacs/repos","events_url":"https://api.github.com/users/gaborszakacs/events{/privacy}","received_events_url":"https://api.github.com/users/gaborszakacs/received_events","type":"User","site_admin":false},"body":"```\r\ndef foo\r\n  return 1, 2\r\nend\r\n\r\na, b = foo\r\n```","created_at":"2017-12-05T15:37:40Z","updated_at":"2017-12-05T15:59:11Z","html_url":"https://github.com/bitrise-steplib/steps-ios-auto-provision/pull/7#discussion_r154983757","pull_request_url":"https://api.github.com/repos/bitrise-steplib/steps-ios-auto-provision/pulls/7","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/bitrise-steplib/steps-ios-auto-provision/pulls/comments/154983757"},"html":{"href":"https://github.com/bitrise-steplib/steps-ios-auto-provision/pull/7#discussion_r154983757"},"pull_request":{"href":"https://api.github.com/repos/bitrise-steplib/steps-ios-auto-provision/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/bitrise-steplib/steps-ios-auto-provision/pulls/7","id":156215020,"html_url":"https://github.com/bitrise-steplib/steps-ios-auto-provision/pull/7","diff_url":"https://github.com/bitrise-steplib/steps-ios-auto-provision/pull/7.diff","patch_url":"https://github.com/bitrise-steplib/steps-ios-auto-provision/pull/7.patch","issue_url":"https://api.github.com/repos/bitrise-steplib/steps-ios-auto-provision/issues/7","number":7,"state":"open","locked":false,"title":"Update","user":{"login":"godrei","id":12427060,"avatar_url":"https://avatars2.githubusercontent.com/u/12427060?v=4","gravatar_id":"","url":"https://api.github.com/users/godrei","html_url":"https://github.com/godrei","followers_url":"https://api.github.com/users/godrei/followers","following_url":"https://api.github.com/users/godrei/following{/other_user}","gists_url":"https://api.github.com/users/godrei/gists{/gist_id}","starred_url":"https://api.github.com/users/godrei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/godrei/subscriptions","organizations_url":"https://api.github.com/users/godrei/orgs","repos_url":"https://api.github.com/users/godrei/repos","events_url":"https://api.github.com/users/godrei/events{/privacy}","received_events_url":"https://api.github.com/users/godrei/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-12-04T14:45:42Z","updated_at":"2017-12-05T15:59:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"575d3c4274fd49cd095333fb2c44b47716f688c2","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/bitrise-steplib/steps-ios-auto-provision/pulls/7/commits","review_comments_url":"https://api.github.com/repos/bitrise-steplib/steps-ios-auto-provision/pulls/7/comments","review_comment_url":"https://api.github.com/repos/bitrise-steplib/steps-ios-auto-provision/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bitrise-steplib/steps-ios-auto-provision/issues/7/comments","statuses_url":"https://api.github.com/repos/bitrise-steplib/steps-ios-auto-provision/statuses/3e9d4622d1ac1109b626f28f62048bfbbac0679c","head":{"label":"bitrise-steplib:update","ref":"update","sha":"3e9d4622d1ac1109b626f28f62048bfbbac0679c","user":{"login":"bitrise-steplib","id":16227531,"avatar_url":"https://avatars3.githubusercontent.com/u/16227531?v=4","gravatar_id":"","url":"https://api.github.com/users/bitrise-steplib","html_url":"https://github.com/bitrise-steplib","followers_url":"https://api.github.com/users/bitrise-steplib/followers","following_url":"https://api.github.com/users/bitrise-steplib/following{/other_user}","gists_url":"https://api.github.com/users/bitrise-steplib/gists{/gist_id}","starred_url":"https://api.github.com/users/bitrise-steplib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitrise-steplib/subscriptions","organizations_url":"https://api.github.com/users/bitrise-steplib/orgs","repos_url":"https://api.github.com/users/bitrise-steplib/repos","events_url":"https://api.github.com/users/bitrise-steplib/events{/privacy}","received_events_url":"https://api.github.com/users/bitrise-steplib/received_events","type":"Organization","site_admin":false},"repo":{"id":110524589,"name":"steps-ios-auto-provision","full_name":"bitrise-steplib/steps-ios-auto-provision","owner":{"login":"bitrise-steplib","id":16227531,"avatar_url":"https://avatars3.githubusercontent.com/u/16227531?v=4","gravatar_id":"","url":"https://api.github.com/users/bitrise-steplib","html_url":"https://github.com/bitrise-steplib","followers_url":"https://api.github.com/users/bitrise-steplib/followers","following_url":"https://api.github.com/users/bitrise-steplib/following{/other_user}","gists_url":"https://api.github.com/users/bitrise-steplib/gists{/gist_id}","starred_url":"https://api.github.com/users/bitrise-steplib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitrise-steplib/subscriptions","organizations_url":"https://api.github.com/users/bitrise-steplib/orgs","repos_url":"https://api.github.com/users/bitrise-steplib/repos","events_url":"https://api.github.com/users/bitrise-steplib/events{/privacy}","received_events_url":"https://api.github.com/users/bitrise-steplib/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bitrise-steplib/steps-ios-auto-provision","description":null,"fork":false,"url":"https://api.github.com/repos/bitrise-steplib/steps-ios-auto-provision","forks_url":"https://api.github.com/repos/bitrise-steplib/steps-ios-auto-provision/forks","keys_url":"https://api.github.com/repos/bitrise-steplib/steps-ios-auto-provision/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bitrise-steplib/steps-ios-auto-provision/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bitrise-steplib/steps-ios-auto-provision/teams","hooks_url":"https://api.github.com/repos/bitrise-steplib/steps-ios-auto-provision/hooks","issue_events_url":"https://api.github.com/repos/bitrise-steplib/steps-ios-auto-provision/issues/events{/number}","events_url":"https://api.github.com/repos/bitrise-steplib/steps-ios-auto-provision/events","assignees_url":"https://api.github.com/repos/bitrise-steplib/steps-ios-auto-provision/assignees{/user}","branches_url":"https://api.github.com/repos/bitrise-steplib/steps-ios-auto-provision/branches{/branch}","tags_url":"https://api.github.com/repos/bitrise-steplib/steps-ios-auto-provision/tags","blobs_url":"https://api.github.com/repos/bitrise-steplib/steps-ios-auto-provision/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bitrise-steplib/steps-ios-auto-provision/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bitrise-steplib/steps-ios-auto-provision/git/refs{/sha}","trees_url":"https://api.github.com/repos/bitrise-steplib/steps-ios-auto-provision/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bitrise-steplib/steps-ios-auto-provision/statuses/{sha}","languages_url":"https://api.github.com/repos/bitrise-steplib/steps-ios-auto-provision/languages","stargazers_url":"https://api.github.com/repos/bitrise-steplib/steps-ios-auto-provision/stargazers","contributors_url":"https://api.github.com/repos/bitrise-steplib/steps-ios-auto-provision/contributors","subscribers_url":"https://api.github.com/repos/bitrise-steplib/steps-ios-auto-provision/subscribers","subscription_url":"https://api.github.com/repos/bitrise-steplib/steps-ios-auto-provision/subscription","commits_url":"https://api.github.com/repos/bitrise-steplib/steps-ios-auto-provision/commits{/sha}","git_commits_url":"https://api.github.com/repos/bitrise-steplib/steps-ios-auto-provision/git/commits{/sha}","comments_url":"https://api.github.com/repos/bitrise-steplib/steps-ios-auto-provision/comments{/number}","issue_comment_url":"https://api.github.com/repos/bitrise-steplib/steps-ios-auto-provision/issues/comments{/number}","contents_url":"https://api.github.com/repos/bitrise-steplib/steps-ios-auto-provision/contents/{+path}","compare_url":"https://api.github.com/repos/bitrise-steplib/steps-ios-auto-provision/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bitrise-steplib/steps-ios-auto-provision/merges","archive_url":"https://api.github.com/repos/bitrise-steplib/steps-ios-auto-provision/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bitrise-steplib/steps-ios-auto-provision/downloads","issues_url":"https://api.github.com/repos/bitrise-steplib/steps-ios-auto-provision/issues{/number}","pulls_url":"https://api.github.com/repos/bitrise-steplib/steps-ios-auto-provision/pulls{/number}","milestones_url":"https://api.github.com/repos/bitrise-steplib/steps-ios-auto-provision/milestones{/number}","notifications_url":"https://api.github.com/repos/bitrise-steplib/steps-ios-auto-provision/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bitrise-steplib/steps-ios-auto-provision/labels{/name}","releases_url":"https://api.github.com/repos/bitrise-steplib/steps-ios-auto-provision/releases{/id}","deployments_url":"https://api.github.com/repos/bitrise-steplib/steps-ios-auto-provision/deployments","created_at":"2017-11-13T09:03:28Z","updated_at":"2017-11-18T05:47:41Z","pushed_at":"2017-12-05T15:20:35Z","git_url":"git://github.com/bitrise-steplib/steps-ios-auto-provision.git","ssh_url":"git@github.com:bitrise-steplib/steps-ios-auto-provision.git","clone_url":"https://github.com/bitrise-steplib/steps-ios-auto-provision.git","svn_url":"https://github.com/bitrise-steplib/steps-ios-auto-provision","homepage":null,"size":44,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":1,"open_issues":2,"watchers":1,"default_branch":"master"}},"base":{"label":"bitrise-steplib:master","ref":"master","sha":"309bb503bb1aad0d2565fe17edc866dd3c730a65","user":{"login":"bitrise-steplib","id":16227531,"avatar_url":"https://avatars3.githubusercontent.com/u/16227531?v=4","gravatar_id":"","url":"https://api.github.com/users/bitrise-steplib","html_url":"https://github.com/bitrise-steplib","followers_url":"https://api.github.com/users/bitrise-steplib/followers","following_url":"https://api.github.com/users/bitrise-steplib/following{/other_user}","gists_url":"https://api.github.com/users/bitrise-steplib/gists{/gist_id}","starred_url":"https://api.github.com/users/bitrise-steplib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitrise-steplib/subscriptions","organizations_url":"https://api.github.com/users/bitrise-steplib/orgs","repos_url":"https://api.github.com/users/bitrise-steplib/repos","events_url":"https://api.github.com/users/bitrise-steplib/events{/privacy}","received_events_url":"https://api.github.com/users/bitrise-steplib/received_events","type":"Organization","site_admin":false},"repo":{"id":110524589,"name":"steps-ios-auto-provision","full_name":"bitrise-steplib/steps-ios-auto-provision","owner":{"login":"bitrise-steplib","id":16227531,"avatar_url":"https://avatars3.githubusercontent.com/u/16227531?v=4","gravatar_id":"","url":"https://api.github.com/users/bitrise-steplib","html_url":"https://github.com/bitrise-steplib","followers_url":"https://api.github.com/users/bitrise-steplib/followers","following_url":"https://api.github.com/users/bitrise-steplib/following{/other_user}","gists_url":"https://api.github.com/users/bitrise-steplib/gists{/gist_id}","starred_url":"https://api.github.com/users/bitrise-steplib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitrise-steplib/subscriptions","organizations_url":"https://api.github.com/users/bitrise-steplib/orgs","repos_url":"https://api.github.com/users/bitrise-steplib/repos","events_url":"https://api.github.com/users/bitrise-steplib/events{/privacy}","received_events_url":"https://api.github.com/users/bitrise-steplib/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bitrise-steplib/steps-ios-auto-provision","description":null,"fork":false,"url":"https://api.github.com/repos/bitrise-steplib/steps-ios-auto-provision","forks_url":"https://api.github.com/repos/bitrise-steplib/steps-ios-auto-provision/forks","keys_url":"https://api.github.com/repos/bitrise-steplib/steps-ios-auto-provision/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bitrise-steplib/steps-ios-auto-provision/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bitrise-steplib/steps-ios-auto-provision/teams","hooks_url":"https://api.github.com/repos/bitrise-steplib/steps-ios-auto-provision/hooks","issue_events_url":"https://api.github.com/repos/bitrise-steplib/steps-ios-auto-provision/issues/events{/number}","events_url":"https://api.github.com/repos/bitrise-steplib/steps-ios-auto-provision/events","assignees_url":"https://api.github.com/repos/bitrise-steplib/steps-ios-auto-provision/assignees{/user}","branches_url":"https://api.github.com/repos/bitrise-steplib/steps-ios-auto-provision/branches{/branch}","tags_url":"https://api.github.com/repos/bitrise-steplib/steps-ios-auto-provision/tags","blobs_url":"https://api.github.com/repos/bitrise-steplib/steps-ios-auto-provision/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bitrise-steplib/steps-ios-auto-provision/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bitrise-steplib/steps-ios-auto-provision/git/refs{/sha}","trees_url":"https://api.github.com/repos/bitrise-steplib/steps-ios-auto-provision/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bitrise-steplib/steps-ios-auto-provision/statuses/{sha}","languages_url":"https://api.github.com/repos/bitrise-steplib/steps-ios-auto-provision/languages","stargazers_url":"https://api.github.com/repos/bitrise-steplib/steps-ios-auto-provision/stargazers","contributors_url":"https://api.github.com/repos/bitrise-steplib/steps-ios-auto-provision/contributors","subscribers_url":"https://api.github.com/repos/bitrise-steplib/steps-ios-auto-provision/subscribers","subscription_url":"https://api.github.com/repos/bitrise-steplib/steps-ios-auto-provision/subscription","commits_url":"https://api.github.com/repos/bitrise-steplib/steps-ios-auto-provision/commits{/sha}","git_commits_url":"https://api.github.com/repos/bitrise-steplib/steps-ios-auto-provision/git/commits{/sha}","comments_url":"https://api.github.com/repos/bitrise-steplib/steps-ios-auto-provision/comments{/number}","issue_comment_url":"https://api.github.com/repos/bitrise-steplib/steps-ios-auto-provision/issues/comments{/number}","contents_url":"https://api.github.com/repos/bitrise-steplib/steps-ios-auto-provision/contents/{+path}","compare_url":"https://api.github.com/repos/bitrise-steplib/steps-ios-auto-provision/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bitrise-steplib/steps-ios-auto-provision/merges","archive_url":"https://api.github.com/repos/bitrise-steplib/steps-ios-auto-provision/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bitrise-steplib/steps-ios-auto-provision/downloads","issues_url":"https://api.github.com/repos/bitrise-steplib/steps-ios-auto-provision/issues{/number}","pulls_url":"https://api.github.com/repos/bitrise-steplib/steps-ios-auto-provision/pulls{/number}","milestones_url":"https://api.github.com/repos/bitrise-steplib/steps-ios-auto-provision/milestones{/number}","notifications_url":"https://api.github.com/repos/bitrise-steplib/steps-ios-auto-provision/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bitrise-steplib/steps-ios-auto-provision/labels{/name}","releases_url":"https://api.github.com/repos/bitrise-steplib/steps-ios-auto-provision/releases{/id}","deployments_url":"https://api.github.com/repos/bitrise-steplib/steps-ios-auto-provision/deployments","created_at":"2017-11-13T09:03:28Z","updated_at":"2017-11-18T05:47:41Z","pushed_at":"2017-12-05T15:20:35Z","git_url":"git://github.com/bitrise-steplib/steps-ios-auto-provision.git","ssh_url":"git@github.com:bitrise-steplib/steps-ios-auto-provision.git","clone_url":"https://github.com/bitrise-steplib/steps-ios-auto-provision.git","svn_url":"https://github.com/bitrise-steplib/steps-ios-auto-provision","homepage":null,"size":44,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":1,"open_issues":2,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bitrise-steplib/steps-ios-auto-provision/pulls/7"},"html":{"href":"https://github.com/bitrise-steplib/steps-ios-auto-provision/pull/7"},"issue":{"href":"https://api.github.com/repos/bitrise-steplib/steps-ios-auto-provision/issues/7"},"comments":{"href":"https://api.github.com/repos/bitrise-steplib/steps-ios-auto-provision/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/bitrise-steplib/steps-ios-auto-provision/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/bitrise-steplib/steps-ios-auto-provision/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bitrise-steplib/steps-ios-auto-provision/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/bitrise-steplib/steps-ios-auto-provision/statuses/3e9d4622d1ac1109b626f28f62048bfbbac0679c"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"gaborszakacs"}}