class Xcodeproj::Project::Object::PBXGroup

def find_file_by_path(path)

Returns:
  • (PBXFileReference) - The file references whose path (regardless
def find_file_by_path(path)
  files.find { |ref| ref.path == path }
end