Class: PBXProject

Inherits:
PBXObject show all
Defined in:
lib/pbxplorer.rb

Instance Attribute Summary

Attributes inherited from PBXObject

#project_file, #uuid

Instance Method Summary collapse

Methods inherited from PBXObject

filter, #initialize, #inspect, objects_of_class

Methods inherited from Hash

#to_plist

Constructor Details

This class inherits a constructor from PBXObject

Instance Method Details

#build_configuration_listObject



166
167
168
# File 'lib/pbxplorer.rb', line 166

def build_configuration_list
  self.project_file.object_with_uuid self["buildConfigurationList"]
end

#helpObject



174
175
176
177
178
179
# File 'lib/pbxplorer.rb', line 174

def help
  puts "target = project.targets.first\n=> " + PBXNativeTarget.to_s
  puts "list = project.build_configuration_list\n=> " + XCConfigurationList.to_s
  puts "group = project.main_group"
  PBXGroup
end

#main_groupObject



170
171
172
# File 'lib/pbxplorer.rb', line 170

def main_group
  self.project_file.object_with_uuid self["mainGroup"]
end

#targetsObject



162
163
164
# File 'lib/pbxplorer.rb', line 162

def targets
  self.project_file.objects_with_uuids self["targets"]
end