class Xcodeproj::Project::Object::XCBuildConfiguration

Encapsulates the information a specific build configuration referenced by a {XCConfigurationList} which in turn might be referenced by a {PBXProject} or a {PBXNativeTarget}.

Public Instance Methods

coverage_build_settings=(flag) click to toggle source
# File lib/cocoapods-unit-test/xcodeproj/build_configuration.rb, line 12
def coverage_build_settings=(flag)
  value = 'NO'
  value = 'YES' if flag
  
  build_settings['CLANG_ENABLE_CODE_COVERAGE'] = value
  build_settings['GCC_INSTRUMENT_PROGRAM_FLOW_ARCS'] = value
  build_settings['GCC_GENERATE_TEST_COVERAGE_FILES'] = value
end