Skip to content

Conversation

@pmattos
Copy link
Contributor

@pmattos pmattos commented Nov 21, 2025

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.

@pmattos
Copy link
Contributor Author

pmattos commented Nov 21, 2025

@swift-ci test

@bkhouri
Copy link
Contributor

bkhouri commented Nov 24, 2025

@swift-ci test windows

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants