Skip to content

Commit

Permalink
add new file
Browse files Browse the repository at this point in the history
  • Loading branch information
michalszelagsonos committed Apr 8, 2024
1 parent 7e31fdb commit 8c995e9
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions pbxproj/pbxsections/XCLocalSwiftPackageReference.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
from pbxproj import PBXGenericObject


class XCLocalSwiftPackageReference(PBXGenericObject):
@classmethod
def create(cls, relative_path):
return cls().parse({
'_id': cls._generate_id(),
'isa': cls.__name__,
'relativePath': relative_path
})

def _get_comment(self):
return f'XCLocalSwiftPackageReference "{self.relativePath}"'

0 comments on commit 8c995e9

Please sign in to comment.