Class: Xcodeproj::Project

Inherits:
Object
  • Object
show all
Defined in:
lib/slather/project.rb

Direct Known Subclasses

Slather::Project

Instance Method Summary collapse

Instance Method Details

#slather_setup_for_coverageObject



9
10
11
12
13
14
# File 'lib/slather/project.rb', line 9

def slather_setup_for_coverage
  build_configurations.each do |build_configuration|
    build_configuration.build_settings["GCC_INSTRUMENT_PROGRAM_FLOW_ARCS"] = "YES"
    build_configuration.build_settings["GCC_GENERATE_TEST_COVERAGE_FILES"] = "YES"
  end
end