Class: Xcodeproj::Project::Object::PBXNativeTarget

Inherits:
Object
  • Object
show all
Defined in:
lib/xcake/xcodeproj_ext/PBXNativeTarget.rb

Instance Method Summary collapse

Instance Method Details

#build_phase_by_class(phase_class) ⇒ Object



7
8
9
# File 'lib/xcake/xcodeproj_ext/PBXNativeTarget.rb', line 7

def build_phase_by_class(phase_class)
  find_or_create_build_phase_by_class(phase_class)
end

#library_target_type?Boolean

Returns:

  • (Boolean)


11
12
13
14
15
16
17
18
# File 'lib/xcake/xcodeproj_ext/PBXNativeTarget.rb', line 11

def library_target_type?
  case symbol_type
  when :framework, :dynamic_library, :static_library
    true
  else
    false
  end
end