{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/xctool/issues/574","repository_url":"https://api.github.com/repos/facebook/xctool","labels_url":"https://api.github.com/repos/facebook/xctool/issues/574/labels{/name}","comments_url":"https://api.github.com/repos/facebook/xctool/issues/574/comments","events_url":"https://api.github.com/repos/facebook/xctool/issues/574/events","html_url":"https://github.com/facebook/xctool/issues/574","id":106661577,"number":574,"title":"Add support for new xcodebuild parameter \"-enableCodeCoverage YES\"","user":{"login":"jmorford","id":2067201,"avatar_url":"https://avatars.githubusercontent.com/u/2067201?v=3","gravatar_id":"","url":"https://api.github.com/users/jmorford","html_url":"https://github.com/jmorford","followers_url":"https://api.github.com/users/jmorford/followers","following_url":"https://api.github.com/users/jmorford/following{/other_user}","gists_url":"https://api.github.com/users/jmorford/gists{/gist_id}","starred_url":"https://api.github.com/users/jmorford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmorford/subscriptions","organizations_url":"https://api.github.com/users/jmorford/orgs","repos_url":"https://api.github.com/users/jmorford/repos","events_url":"https://api.github.com/users/jmorford/events{/privacy}","received_events_url":"https://api.github.com/users/jmorford/received_events","type":"User","site_admin":false},"labels":[{"id":37121353,"url":"https://api.github.com/repos/facebook/xctool/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":22,"created_at":"2015-09-15T22:34:04Z","updated_at":"2016-10-28T17:54:09Z","closed_at":"2016-10-27T21:35:32Z","body":"See http://viteinfinite.com/2015/07/leveraging-swift-code-coverage-with-xcode-7/\r\nThis would enable support for code coverage with Xcode 7"},"comment":{"url":"https://api.github.com/repos/facebook/xctool/issues/comments/256985742","html_url":"https://github.com/facebook/xctool/issues/574#issuecomment-256985742","issue_url":"https://api.github.com/repos/facebook/xctool/issues/574","id":256985742,"user":{"login":"ExtremeMan","id":1044236,"avatar_url":"https://avatars.githubusercontent.com/u/1044236?v=3","gravatar_id":"","url":"https://api.github.com/users/ExtremeMan","html_url":"https://github.com/ExtremeMan","followers_url":"https://api.github.com/users/ExtremeMan/followers","following_url":"https://api.github.com/users/ExtremeMan/following{/other_user}","gists_url":"https://api.github.com/users/ExtremeMan/gists{/gist_id}","starred_url":"https://api.github.com/users/ExtremeMan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ExtremeMan/subscriptions","organizations_url":"https://api.github.com/users/ExtremeMan/orgs","repos_url":"https://api.github.com/users/ExtremeMan/repos","events_url":"https://api.github.com/users/ExtremeMan/events{/privacy}","received_events_url":"https://api.github.com/users/ExtremeMan/received_events","type":"User","site_admin":false},"created_at":"2016-10-28T17:54:09Z","updated_at":"2016-10-28T17:54:09Z","body":"> Except that it only works when running tests?\r\n\r\nThat is not correct 100%. It works whenever you run the app. Again, have a look into the docs I attached to the previous message.\r\n\r\n> So could you clarify how one would get code coverage when running tests with the new version of xctool?\r\n\r\nI would suppose you need to build your project with `xcodebuild -enableCodeCoverage build-for-testing` and then use xctool just to run tests. It will output you clang test coverage files."}}
{"actor":{"display_login":"ExtremeMan"}}