Commit 49d533d
authored
Promote to public operation to compute PIF GUID for products (#9409)
### Motivation:
Ensures external clients (e.g., Xcode) can reuse some PIF GUID
operations implemented internally by SwiftPM.
Without this patch, clients were instead duplicating the exact same code
externally.
### Modifications:
For now, this is a quick fix to ensure that we reuse this single
function from SwiftBuildSupport/PackagePIFBuilder+Helpers.swift
static func targetGUID(
forProductName name: String,
withId id: String,
suffix: TargetSuffix? = nil
) -> GUID
Related to rdar://165063807.1 parent a5be296 commit 49d533d
File tree
2 files changed
+3
-3
lines changed- Sources/SwiftBuildSupport
2 files changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
139 | | - | |
| 139 | + | |
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
0 commit comments