Class: Xcodeproj::Project::Object::XCLocalSwiftPackageReference

Inherits:
Object
  • Object
show all
Defined in:
lib/kintsugi/xcodeproj_extensions.rb

Overview

The original implementation is ‘“ #isa "#File.basename(display_name)"` so that means that if we have a relative path which is Path/To/Package, the item will be serialized as `XCLocalSwiftPackageReference ”Package“`. And Xcode will automatically fix this to be `XCLocalSwiftPackageReference ”Path/To/Package“`. So, we need to patch the implementation and make sure the whole path is used.

Instance Method Summary collapse

Instance Method Details

#ascii_plist_annotationObject



145
146
147
# File 'lib/kintsugi/xcodeproj_extensions.rb', line 145

def ascii_plist_annotation
  " #{isa} \"#{display_name}\" "
end