class RSwift::AttributesConfigurator

Public Instance Methods

configure_project_attributes(project) click to toggle source
# File lib/rswift/attributes_configurator.rb, line 4
def configure_project_attributes(project)
  project.root_object.attributes.merge! target_attributes(project)
end

Private Instance Methods

target_attributes(project) click to toggle source
# File lib/rswift/attributes_configurator.rb, line 10
def target_attributes(project)
  {
    'TargetAttributes' => {
      project.spec_target.uuid => {
        'TestTargetID' => project.app_target.uuid
      }.freeze
    }.freeze
  }.freeze
end