def add_build_target(build_target, build_for_running = true)
      entry = BuildAction::Entry.new(build_target)

      entry.build_for_testing   = true
      entry.build_for_running   = build_for_running
      entry.build_for_profiling = build_for_running
      entry.build_for_archiving = build_for_running
      entry.build_for_analyzing = build_for_running

      build_action.add_entry(entry)
    end
def add_build_target(build_target, build_for_running = true)
      entry = BuildAction::Entry.new(build_target)

      entry.build_for_testing   = true
      entry.build_for_running   = build_for_running
      entry.build_for_profiling = build_for_running
      entry.build_for_archiving = build_for_running
      entry.build_for_analyzing = build_for_running

      build_action.add_entry(entry)
    end
@!group Target methods
 Add a target to the list of targets to build in the build action.

 @param [Xcodeproj::Project::Object::AbstractTarget] build_target
        A target used by scheme in the build step.

 @param [Bool] build_for_running
        Whether to build this target in the launch action. Often false for test targets.