Module: Xcode::BuildFile
- Defined in:
- lib/xcode/build_file.rb
Overview
PBXBuildFile are entries within the project that create a link between the file and the PBXFileReference. One is created for each file added to a build target.
Class Method Summary collapse
-
.buildfile(file_identifier, settings) ⇒ Hash
Create the properties hash for a build file with the given file reference identifier.
Class Method Details
.buildfile(file_identifier, settings) ⇒ Hash
Create the properties hash for a build file with the given file reference identifier.
17 18 19 20 21 |
# File 'lib/xcode/build_file.rb', line 17 def self.buildfile(file_identifier,settings) properties = { 'isa' => "PBXBuildFile", 'fileRef' => file_identifier } properties.merge!('settings' => settings) unless settings.empty? properties end |