{"action":"created","comment":{"url":"https://api.github.com/repos/linkedin/bluepill/pulls/comments/137918367","pull_request_review_id":61655075,"id":137918367,"diff_hunk":"@@ -57,15 +57,19 @@ int main(int argc, char * argv[]) {\n     @autoreleasepool {\n         int c;\n         BPConfiguration *config = [[BPConfiguration alloc] initWithProgram:BP_MASTER];\n-\n         struct option *lopts = [config getLongOptions];\n         char *sopts = [config getShortOptions];\n-\n         if (argv[1] && (!strcmp(argv[1], \"version\") || (!strcmp(argv[1], \"--version\")))) {\n             printf(\"Bluepill %s\\n\", BP_VERSION);\n             exit(0);\n         }\n-\n+        \n+        NSString *xcodeVersion = [BPUtils runShell:@\"xcodebuild -version\"];\n+        if ([xcodeVersion rangeOfString:@BP_DEFAULT_XCODE_VERSION].location == NSNotFound) {\n+            fprintf(stderr, \"ERROR: Invalid xcode version: %s; Only %s is supported\\n\", [xcodeVersion UTF8String], BP_DEFAULT_XCODE_VERSION);","path":"Bluepill-runner/Bluepill-runner/main.m","position":16,"original_position":16,"commit_id":"390b2cc4604b16d2a8f556169820f8ba4071a445","original_commit_id":"390b2cc4604b16d2a8f556169820f8ba4071a445","user":{"login":"oliverhu","id":1659910,"avatar_url":"https://avatars2.githubusercontent.com/u/1659910?v=4","gravatar_id":"","url":"https://api.github.com/users/oliverhu","html_url":"https://github.com/oliverhu","followers_url":"https://api.github.com/users/oliverhu/followers","following_url":"https://api.github.com/users/oliverhu/following{/other_user}","gists_url":"https://api.github.com/users/oliverhu/gists{/gist_id}","starred_url":"https://api.github.com/users/oliverhu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oliverhu/subscriptions","organizations_url":"https://api.github.com/users/oliverhu/orgs","repos_url":"https://api.github.com/users/oliverhu/repos","events_url":"https://api.github.com/users/oliverhu/events{/privacy}","received_events_url":"https://api.github.com/users/oliverhu/received_events","type":"User","site_admin":false},"body":"Xcode not xcode","created_at":"2017-09-09T04:42:01Z","updated_at":"2017-09-09T04:43:21Z","html_url":"https://github.com/linkedin/bluepill/pull/186#discussion_r137918367","pull_request_url":"https://api.github.com/repos/linkedin/bluepill/pulls/186","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/linkedin/bluepill/pulls/comments/137918367"},"html":{"href":"https://github.com/linkedin/bluepill/pull/186#discussion_r137918367"},"pull_request":{"href":"https://api.github.com/repos/linkedin/bluepill/pulls/186"}}},"pull_request":{"url":"https://api.github.com/repos/linkedin/bluepill/pulls/186","id":132618493,"html_url":"https://github.com/linkedin/bluepill/pull/186","diff_url":"https://github.com/linkedin/bluepill/pull/186.diff","patch_url":"https://github.com/linkedin/bluepill/pull/186.patch","issue_url":"https://api.github.com/repos/linkedin/bluepill/issues/186","number":186,"state":"open","locked":false,"title":"Enable Xcode9beta4 to build bluepill","user":{"login":"bayareabear","id":25552776,"avatar_url":"https://avatars1.githubusercontent.com/u/25552776?v=4","gravatar_id":"","url":"https://api.github.com/users/bayareabear","html_url":"https://github.com/bayareabear","followers_url":"https://api.github.com/users/bayareabear/followers","following_url":"https://api.github.com/users/bayareabear/following{/other_user}","gists_url":"https://api.github.com/users/bayareabear/gists{/gist_id}","starred_url":"https://api.github.com/users/bayareabear/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bayareabear/subscriptions","organizations_url":"https://api.github.com/users/bayareabear/orgs","repos_url":"https://api.github.com/users/bayareabear/repos","events_url":"https://api.github.com/users/bayareabear/events{/privacy}","received_events_url":"https://api.github.com/users/bayareabear/received_events","type":"User","site_admin":false},"body":"1) Add /Library/Developer/PrivateFrameworks/ to PRIVATE_FRAMEWORKS_DIR variable\r\n2) Change BP_DEFAULT_RUNTIME from iOS 10.3 to iOS 11","created_at":"2017-07-26T21:28:01Z","updated_at":"2017-09-09T04:43:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"61909a3321264c963649432301c08804da00d793","assignee":null,"assignees":[],"requested_reviewers":[{"login":"vargon","id":130062,"avatar_url":"https://avatars1.githubusercontent.com/u/130062?v=4","gravatar_id":"","url":"https://api.github.com/users/vargon","html_url":"https://github.com/vargon","followers_url":"https://api.github.com/users/vargon/followers","following_url":"https://api.github.com/users/vargon/following{/other_user}","gists_url":"https://api.github.com/users/vargon/gists{/gist_id}","starred_url":"https://api.github.com/users/vargon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vargon/subscriptions","organizations_url":"https://api.github.com/users/vargon/orgs","repos_url":"https://api.github.com/users/vargon/repos","events_url":"https://api.github.com/users/vargon/events{/privacy}","received_events_url":"https://api.github.com/users/vargon/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/linkedin/bluepill/pulls/186/commits","review_comments_url":"https://api.github.com/repos/linkedin/bluepill/pulls/186/comments","review_comment_url":"https://api.github.com/repos/linkedin/bluepill/pulls/comments{/number}","comments_url":"https://api.github.com/repos/linkedin/bluepill/issues/186/comments","statuses_url":"https://api.github.com/repos/linkedin/bluepill/statuses/390b2cc4604b16d2a8f556169820f8ba4071a445","head":{"label":"linkedin:xcode9beta4","ref":"xcode9beta4","sha":"390b2cc4604b16d2a8f556169820f8ba4071a445","user":{"login":"linkedin","id":357098,"avatar_url":"https://avatars3.githubusercontent.com/u/357098?v=4","gravatar_id":"","url":"https://api.github.com/users/linkedin","html_url":"https://github.com/linkedin","followers_url":"https://api.github.com/users/linkedin/followers","following_url":"https://api.github.com/users/linkedin/following{/other_user}","gists_url":"https://api.github.com/users/linkedin/gists{/gist_id}","starred_url":"https://api.github.com/users/linkedin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/linkedin/subscriptions","organizations_url":"https://api.github.com/users/linkedin/orgs","repos_url":"https://api.github.com/users/linkedin/repos","events_url":"https://api.github.com/users/linkedin/events{/privacy}","received_events_url":"https://api.github.com/users/linkedin/received_events","type":"Organization","site_admin":false},"repo":{"id":78669969,"name":"bluepill","full_name":"linkedin/bluepill","owner":{"login":"linkedin","id":357098,"avatar_url":"https://avatars3.githubusercontent.com/u/357098?v=4","gravatar_id":"","url":"https://api.github.com/users/linkedin","html_url":"https://github.com/linkedin","followers_url":"https://api.github.com/users/linkedin/followers","following_url":"https://api.github.com/users/linkedin/following{/other_user}","gists_url":"https://api.github.com/users/linkedin/gists{/gist_id}","starred_url":"https://api.github.com/users/linkedin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/linkedin/subscriptions","organizations_url":"https://api.github.com/users/linkedin/orgs","repos_url":"https://api.github.com/users/linkedin/repos","events_url":"https://api.github.com/users/linkedin/events{/privacy}","received_events_url":"https://api.github.com/users/linkedin/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/linkedin/bluepill","description":"Bluepill is a reliable iOS testing tool that runs UI tests using multiple simulators on a single machine","fork":false,"url":"https://api.github.com/repos/linkedin/bluepill","forks_url":"https://api.github.com/repos/linkedin/bluepill/forks","keys_url":"https://api.github.com/repos/linkedin/bluepill/keys{/key_id}","collaborators_url":"https://api.github.com/repos/linkedin/bluepill/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/linkedin/bluepill/teams","hooks_url":"https://api.github.com/repos/linkedin/bluepill/hooks","issue_events_url":"https://api.github.com/repos/linkedin/bluepill/issues/events{/number}","events_url":"https://api.github.com/repos/linkedin/bluepill/events","assignees_url":"https://api.github.com/repos/linkedin/bluepill/assignees{/user}","branches_url":"https://api.github.com/repos/linkedin/bluepill/branches{/branch}","tags_url":"https://api.github.com/repos/linkedin/bluepill/tags","blobs_url":"https://api.github.com/repos/linkedin/bluepill/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/linkedin/bluepill/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/linkedin/bluepill/git/refs{/sha}","trees_url":"https://api.github.com/repos/linkedin/bluepill/git/trees{/sha}","statuses_url":"https://api.github.com/repos/linkedin/bluepill/statuses/{sha}","languages_url":"https://api.github.com/repos/linkedin/bluepill/languages","stargazers_url":"https://api.github.com/repos/linkedin/bluepill/stargazers","contributors_url":"https://api.github.com/repos/linkedin/bluepill/contributors","subscribers_url":"https://api.github.com/repos/linkedin/bluepill/subscribers","subscription_url":"https://api.github.com/repos/linkedin/bluepill/subscription","commits_url":"https://api.github.com/repos/linkedin/bluepill/commits{/sha}","git_commits_url":"https://api.github.com/repos/linkedin/bluepill/git/commits{/sha}","comments_url":"https://api.github.com/repos/linkedin/bluepill/comments{/number}","issue_comment_url":"https://api.github.com/repos/linkedin/bluepill/issues/comments{/number}","contents_url":"https://api.github.com/repos/linkedin/bluepill/contents/{+path}","compare_url":"https://api.github.com/repos/linkedin/bluepill/compare/{base}...{head}","merges_url":"https://api.github.com/repos/linkedin/bluepill/merges","archive_url":"https://api.github.com/repos/linkedin/bluepill/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/linkedin/bluepill/downloads","issues_url":"https://api.github.com/repos/linkedin/bluepill/issues{/number}","pulls_url":"https://api.github.com/repos/linkedin/bluepill/pulls{/number}","milestones_url":"https://api.github.com/repos/linkedin/bluepill/milestones{/number}","notifications_url":"https://api.github.com/repos/linkedin/bluepill/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/linkedin/bluepill/labels{/name}","releases_url":"https://api.github.com/repos/linkedin/bluepill/releases{/id}","deployments_url":"https://api.github.com/repos/linkedin/bluepill/deployments","created_at":"2017-01-11T19:03:51Z","updated_at":"2017-09-07T10:11:58Z","pushed_at":"2017-09-08T20:38:14Z","git_url":"git://github.com/linkedin/bluepill.git","ssh_url":"git@github.com:linkedin/bluepill.git","clone_url":"https://github.com/linkedin/bluepill.git","svn_url":"https://github.com/linkedin/bluepill","homepage":null,"size":4974,"stargazers_count":2394,"watchers_count":2394,"language":"Objective-C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":134,"mirror_url":null,"open_issues_count":38,"forks":134,"open_issues":38,"watchers":2394,"default_branch":"master"}},"base":{"label":"linkedin:master","ref":"master","sha":"128a1ce46e3279cc80d9b9ba858edae6698d2989","user":{"login":"linkedin","id":357098,"avatar_url":"https://avatars3.githubusercontent.com/u/357098?v=4","gravatar_id":"","url":"https://api.github.com/users/linkedin","html_url":"https://github.com/linkedin","followers_url":"https://api.github.com/users/linkedin/followers","following_url":"https://api.github.com/users/linkedin/following{/other_user}","gists_url":"https://api.github.com/users/linkedin/gists{/gist_id}","starred_url":"https://api.github.com/users/linkedin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/linkedin/subscriptions","organizations_url":"https://api.github.com/users/linkedin/orgs","repos_url":"https://api.github.com/users/linkedin/repos","events_url":"https://api.github.com/users/linkedin/events{/privacy}","received_events_url":"https://api.github.com/users/linkedin/received_events","type":"Organization","site_admin":false},"repo":{"id":78669969,"name":"bluepill","full_name":"linkedin/bluepill","owner":{"login":"linkedin","id":357098,"avatar_url":"https://avatars3.githubusercontent.com/u/357098?v=4","gravatar_id":"","url":"https://api.github.com/users/linkedin","html_url":"https://github.com/linkedin","followers_url":"https://api.github.com/users/linkedin/followers","following_url":"https://api.github.com/users/linkedin/following{/other_user}","gists_url":"https://api.github.com/users/linkedin/gists{/gist_id}","starred_url":"https://api.github.com/users/linkedin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/linkedin/subscriptions","organizations_url":"https://api.github.com/users/linkedin/orgs","repos_url":"https://api.github.com/users/linkedin/repos","events_url":"https://api.github.com/users/linkedin/events{/privacy}","received_events_url":"https://api.github.com/users/linkedin/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/linkedin/bluepill","description":"Bluepill is a reliable iOS testing tool that runs UI tests using multiple simulators on a single machine","fork":false,"url":"https://api.github.com/repos/linkedin/bluepill","forks_url":"https://api.github.com/repos/linkedin/bluepill/forks","keys_url":"https://api.github.com/repos/linkedin/bluepill/keys{/key_id}","collaborators_url":"https://api.github.com/repos/linkedin/bluepill/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/linkedin/bluepill/teams","hooks_url":"https://api.github.com/repos/linkedin/bluepill/hooks","issue_events_url":"https://api.github.com/repos/linkedin/bluepill/issues/events{/number}","events_url":"https://api.github.com/repos/linkedin/bluepill/events","assignees_url":"https://api.github.com/repos/linkedin/bluepill/assignees{/user}","branches_url":"https://api.github.com/repos/linkedin/bluepill/branches{/branch}","tags_url":"https://api.github.com/repos/linkedin/bluepill/tags","blobs_url":"https://api.github.com/repos/linkedin/bluepill/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/linkedin/bluepill/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/linkedin/bluepill/git/refs{/sha}","trees_url":"https://api.github.com/repos/linkedin/bluepill/git/trees{/sha}","statuses_url":"https://api.github.com/repos/linkedin/bluepill/statuses/{sha}","languages_url":"https://api.github.com/repos/linkedin/bluepill/languages","stargazers_url":"https://api.github.com/repos/linkedin/bluepill/stargazers","contributors_url":"https://api.github.com/repos/linkedin/bluepill/contributors","subscribers_url":"https://api.github.com/repos/linkedin/bluepill/subscribers","subscription_url":"https://api.github.com/repos/linkedin/bluepill/subscription","commits_url":"https://api.github.com/repos/linkedin/bluepill/commits{/sha}","git_commits_url":"https://api.github.com/repos/linkedin/bluepill/git/commits{/sha}","comments_url":"https://api.github.com/repos/linkedin/bluepill/comments{/number}","issue_comment_url":"https://api.github.com/repos/linkedin/bluepill/issues/comments{/number}","contents_url":"https://api.github.com/repos/linkedin/bluepill/contents/{+path}","compare_url":"https://api.github.com/repos/linkedin/bluepill/compare/{base}...{head}","merges_url":"https://api.github.com/repos/linkedin/bluepill/merges","archive_url":"https://api.github.com/repos/linkedin/bluepill/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/linkedin/bluepill/downloads","issues_url":"https://api.github.com/repos/linkedin/bluepill/issues{/number}","pulls_url":"https://api.github.com/repos/linkedin/bluepill/pulls{/number}","milestones_url":"https://api.github.com/repos/linkedin/bluepill/milestones{/number}","notifications_url":"https://api.github.com/repos/linkedin/bluepill/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/linkedin/bluepill/labels{/name}","releases_url":"https://api.github.com/repos/linkedin/bluepill/releases{/id}","deployments_url":"https://api.github.com/repos/linkedin/bluepill/deployments","created_at":"2017-01-11T19:03:51Z","updated_at":"2017-09-07T10:11:58Z","pushed_at":"2017-09-08T20:38:14Z","git_url":"git://github.com/linkedin/bluepill.git","ssh_url":"git@github.com:linkedin/bluepill.git","clone_url":"https://github.com/linkedin/bluepill.git","svn_url":"https://github.com/linkedin/bluepill","homepage":null,"size":4974,"stargazers_count":2394,"watchers_count":2394,"language":"Objective-C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":134,"mirror_url":null,"open_issues_count":38,"forks":134,"open_issues":38,"watchers":2394,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/linkedin/bluepill/pulls/186"},"html":{"href":"https://github.com/linkedin/bluepill/pull/186"},"issue":{"href":"https://api.github.com/repos/linkedin/bluepill/issues/186"},"comments":{"href":"https://api.github.com/repos/linkedin/bluepill/issues/186/comments"},"review_comments":{"href":"https://api.github.com/repos/linkedin/bluepill/pulls/186/comments"},"review_comment":{"href":"https://api.github.com/repos/linkedin/bluepill/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/linkedin/bluepill/pulls/186/commits"},"statuses":{"href":"https://api.github.com/repos/linkedin/bluepill/statuses/390b2cc4604b16d2a8f556169820f8ba4071a445"}},"author_association":"NONE"}}
{"actor":{"display_login":"oliverhu"}}