{"action":"created","issue":{"url":"https://api.github.com/repos/SlatherOrg/slather/issues/224","repository_url":"https://api.github.com/repos/SlatherOrg/slather","labels_url":"https://api.github.com/repos/SlatherOrg/slather/issues/224/labels{/name}","comments_url":"https://api.github.com/repos/SlatherOrg/slather/issues/224/comments","events_url":"https://api.github.com/repos/SlatherOrg/slather/issues/224/events","html_url":"https://github.com/SlatherOrg/slather/issues/224","id":158202094,"number":224,"title":"slather code coverage error : find_binary_files","user":{"login":"vinsp","id":4178263,"avatar_url":"https://avatars.githubusercontent.com/u/4178263?v=3","gravatar_id":"","url":"https://api.github.com/users/vinsp","html_url":"https://github.com/vinsp","followers_url":"https://api.github.com/users/vinsp/followers","following_url":"https://api.github.com/users/vinsp/following{/other_user}","gists_url":"https://api.github.com/users/vinsp/gists{/gist_id}","starred_url":"https://api.github.com/users/vinsp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vinsp/subscriptions","organizations_url":"https://api.github.com/users/vinsp/orgs","repos_url":"https://api.github.com/users/vinsp/repos","events_url":"https://api.github.com/users/vinsp/events{/privacy}","received_events_url":"https://api.github.com/users/vinsp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2016-06-02T17:58:42Z","updated_at":"2016-06-03T22:03:55Z","closed_at":null,"body":"I am getting following error while generate a code coverage report. Could you please help me in this?\r\n\r\n --- Step: cd .. && mkdir -p 'build/reports/unit_test' && slather coverage       --cobertura-xml       --output-directory 'build/reports/unit_test'       --input-format profdata       --build-directory DerivedData       --source-directory .       --scheme 'myAppTests'       --workspace 'myApp.xcworkspace'       --binary-basename 'myApp'       *.xcodeproj ---\r\n --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------\r\n $ cd .. && mkdir -p 'build/reports/unit_test' && slather coverage       --cobertura-xml       --output-directory 'build/reports/unit_test'       --input-format profdata       --build-directory DerivedData       --source-directory .       --scheme 'myAppTests'       --workspace 'myApp.xcworkspace'       --binary-basename 'myApp'       *.xcodeproj\r\n ▸ /Users/admin/.rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/slather-2.2.1/lib/slather/project.rb:459:in `find_binary_files': No product binary found in DerivedData/Build/Intermediates/CodeCoverage. (StandardError)\r\n ▸ from /Users/admin/.rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/slather-2.2.1/lib/slather/project.rb:344:in `configure_binary_file'\r\n ▸ from /Users/admin/.rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/slather-2.2.1/lib/slather/project.rb:240:in `configure'\r\n ▸ from /Users/admin/.rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/slather-2.2.1/lib/slather/command/coverage_command.rb:50:in `execute'\r\n ▸ from /Users/admin/.rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/clamp-0.6.5/lib/clamp/command.rb:67:in `run'\r\n ▸ from /Users/admin/.rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/clamp-0.6.5/lib/clamp/subcommand/execution.rb:11:in `execute'\r\n ▸ from /Users/admin/.rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/clamp-0.6.5/lib/clamp/command.rb:67:in `run'\r\n ▸ from /Users/admin/.rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/clamp-0.6.5/lib/clamp/command.rb:132:in `run'\r\n ▸ from /Users/admin/.rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/slather-2.2.1/bin/slather:17:in `<top (required)>'\r\n ▸ from /Users/admin/.rbenv/versions/2.2.4/bin/slather:23:in `load'\r\n ▸ from /Users/admin/.rbenv/versions/2.2.4/bin/slather:23:in `<main>'\r\n ▸ Slathering...\r\n ▸ No product binary found in DerivedData/Build/Intermediates/CodeCoverage.\r\n ▸ Are you sure your project is generating coverage? Make sure you enable code coverage in the Test section of your Xcode scheme.\r\n ▸ Did you specify your Xcode scheme? (--scheme or 'scheme' in .slather.yml)\r\n ▸ If you're using a workspace, did you specify it? (--workspace or 'workspace' in .slather.yml)\r\n"},"comment":{"url":"https://api.github.com/repos/SlatherOrg/slather/issues/comments/223705738","html_url":"https://github.com/SlatherOrg/slather/issues/224#issuecomment-223705738","issue_url":"https://api.github.com/repos/SlatherOrg/slather/issues/224","id":223705738,"user":{"login":"sbhklr","id":1326220,"avatar_url":"https://avatars.githubusercontent.com/u/1326220?v=3","gravatar_id":"","url":"https://api.github.com/users/sbhklr","html_url":"https://github.com/sbhklr","followers_url":"https://api.github.com/users/sbhklr/followers","following_url":"https://api.github.com/users/sbhklr/following{/other_user}","gists_url":"https://api.github.com/users/sbhklr/gists{/gist_id}","starred_url":"https://api.github.com/users/sbhklr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbhklr/subscriptions","organizations_url":"https://api.github.com/users/sbhklr/orgs","repos_url":"https://api.github.com/users/sbhklr/repos","events_url":"https://api.github.com/users/sbhklr/events{/privacy}","received_events_url":"https://api.github.com/users/sbhklr/received_events","type":"User","site_admin":false},"created_at":"2016-06-03T22:03:55Z","updated_at":"2016-06-03T22:03:55Z","body":"Both would work. The latter solution is probably more future proof in case CP changes something with the build directories."}}
{"actor":{"display_login":"sbhklr"}}