Class: PBXProject::PBXTypes::PBXNativeTarget

Inherits:
ISAType
  • Object
show all
Defined in:
lib/pbxproject/pbxtypes.rb

Instance Attribute Summary

Attributes inherited from ISAType

#comment, #guid, #isa

Instance Method Summary collapse

Methods inherited from ISAType

#_pbx_format, #_pbx_indent, #_pbx_newline, #basic_value, has_fields, has_format, #hashify, #initialize, #to_pbx

Constructor Details

This class inherits a constructor from PBXProject::PBXTypes::ISAType

Instance Method Details

#add_build_phase(build_phase, position = -1) ⇒ Object



210
211
212
# File 'lib/pbxproject/pbxtypes.rb', line 210

def add_build_phase build_phase, position = -1
  @buildPhases.insert(position, BasicValue.new(:value => build_phase.guid, :comment => build_phase.comment))
end