Class: Xcodeproj::Project::Object::PBXBuildFile
- Inherits:
-
Object
- Object
- Xcodeproj::Project::Object::PBXBuildFile
- Defined in:
- lib/kintsugi/xcodeproj_extensions.rb
Overview
Modifies ‘PBXBuildFile` to calculate `ascii_plist_annotation` based on the underlying object’s ‘ascii_plist_annotation` instead of relying on its `display_name`, as `display_name` might contain information that shouldn’t be written to the project.
Instance Method Summary collapse
Instance Method Details
#ascii_plist_annotation ⇒ Object
67 68 69 70 71 72 73 74 75 76 77 78 |
# File 'lib/kintsugi/xcodeproj_extensions.rb', line 67 def ascii_plist_annotation = if product_ref product_ref.ascii_plist_annotation elsif file_ref file_ref.ascii_plist_annotation else super end " #{.strip} in #{GroupableHelper.parent(self).display_name} " end |