Skip to content

Instantly share code, notes, and snippets.

@tokorom
Created June 17, 2013 08:48
Show Gist options
  • Save tokorom/5795529 to your computer and use it in GitHub Desktop.
Save tokorom/5795529 to your computer and use it in GitHub Desktop.
xctool and lcov
xctool test GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES GCC_GENERATE_TEST_COVERAGE_FILES=YES
lcov -c -d ~/Library/Developer/Xcode/DerivedData/sample-app-xxxxxxx/Build/Intermediates/pantry-ios-client.build/Debug-iphonesimulator/Tests.build -o ~/Desktop/report.info
/usr/local/Cellar/lcov/1.10/bin/genhtml -o ~/Desktop/report report.info
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment