class Xcodeproj::Project::Object::PBXBuildFile

Contains the information about the build settings of a file used by an {AbstractBuildPhase}.

Public Instance Methods

ascii_plist_annotation() click to toggle source
# File lib/xcodeproj/project/object/build_file.rb, line 76
def ascii_plist_annotation
  " #{display_name} in #{GroupableHelper.parent(self).display_name} "
end
display_name() click to toggle source

@return [String] A name suitable for displaying the object to the

user.
# File lib/xcodeproj/project/object/build_file.rb, line 55
def display_name
  if product_ref
    product_ref.display_name
  elsif file_ref
    file_ref.display_name
  else
    super
  end
end
pretty_print() click to toggle source

@return [Hash{String => Hash}, String] A hash suitable to display the

object to the user.
# File lib/xcodeproj/project/object/build_file.rb, line 68
def pretty_print
  if settings.nil? || settings.empty?
    display_name
  else
    { display_name => settings }
  end
end