Class: Xcode::Builder::ProjectTargetConfigBuilder

Inherits:
BaseBuilder
  • Object
show all
Defined in:
lib/xcode/builder/project_target_config_builder.rb

Constant Summary

Constants included from TerminalOutput

TerminalOutput::LEVELS

Instance Attribute Summary

Attributes inherited from BaseBuilder

#build_path, #config, #identity, #keychain, #objroot, #profile, #sdk, #symroot, #target

Instance Method Summary collapse

Methods inherited from BaseBuilder

#app_path, #build, #bundle_identifier, #bundle_version, #clean, #cocoapods_installed?, #configuration_build_path, #dependencies, #deploy, #dsym_path, #dsym_zip_path, #entitlements_path, #has_dependencies?, #initialize, #ipa_name, #ipa_path, #package, #prepare_build_command, #prepare_clean_command, #prepare_dsym_command, #prepare_package_command, #prepare_test_command, #product_name, #product_version_basename, #project_root, #test, #with_command

Methods included from TerminalOutput

#color_output=, #color_output?, #format_lhs, included, #log_level, log_level=, #print, #print_input, #print_output, #print_system, #print_task, #puts, terminal_supports_colors?

Constructor Details

This class inherits a constructor from Xcode::Builder::BaseBuilder

Instance Method Details

#prepare_xcodebuild(sdk = nil) ⇒ Object



5
6
7
8
9
10
11
# File 'lib/xcode/builder/project_target_config_builder.rb', line 5

def prepare_xcodebuild sdk=nil
  cmd = super sdk
  cmd << "-project \"#{@target.project.path}\""
  cmd << "-target \"#{@target.name}\""
  cmd << "-config \"#{@config.name}\""
  cmd
end