Method: Xcode::BuildPhase#build_file
- Defined in:
- lib/xcode/build_phase.rb
#build_file(name) ⇒ FileReference
Note:
this is the FileReference, the file being built and not the instance of the BuildFile.
Find the first file that has the name or path that matches the specified parameter.
108 109 110 |
# File 'lib/xcode/build_phase.rb', line 108 def build_file(name) build_files.find {|file| file.name == name or file.path == name } end |