Class: Xcodeproj::Project::Object::PBXTargetDependency
- Inherits:
-
Object
- Object
- Xcodeproj::Project::Object::PBXTargetDependency
- Defined in:
- lib/kintsugi/xcodeproj_extensions.rb
Overview
Modifies ‘PBXTargetDependency`’s ‘to_tree_hash` to not crash if `target_proxy` is `nil`. The same fix was done in github.com/CocoaPods/Xcodeproj/pull/915/.
Instance Method Summary collapse
Instance Method Details
#to_tree_hash ⇒ Object
120 121 122 123 124 125 126 |
# File 'lib/kintsugi/xcodeproj_extensions.rb', line 120 def to_tree_hash hash = {} hash['displayName'] = display_name hash['isa'] = isa hash['targetProxy'] = target_proxy.to_tree_hash if target_proxy hash end |