Skip to content

Commit c6533a7

Browse files
committed
Add PBXReferenceProxy
1 parent 4b016c4 commit c6533a7

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

Xcode/Xcode/PBXObject.swift

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,12 @@ public class PBXFileReference : PBXReference {
133133
public lazy var fullPath: Path = self.allObjects.fullFilePaths[self.id]!
134134
}
135135

136+
public class PBXReferenceProxy : PBXReference {
137+
138+
// convenience accessor
139+
public lazy var remoteRef: PBXContainerItemProxy = self.object("remoteRef")
140+
}
141+
136142
public class PBXGroup : PBXReference {
137143
public lazy var children: [PBXReference] = self.objects("children")
138144

Xcode/Xcode/XCProjectFile.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ let types: [String: PBXObject.Type] = [
153153
"PBXTargetDependency": PBXTargetDependency.self,
154154
"XCConfigurationList": XCConfigurationList.self,
155155
"PBXReference": PBXReference.self,
156+
"PBXReferenceProxy": PBXReferenceProxy.self,
156157
"PBXFileReference": PBXFileReference.self,
157158
"PBXGroup": PBXGroup.self,
158159
"PBXVariantGroup": PBXVariantGroup.self,

0 commit comments

Comments
 (0)