Skip to content

Conversation

@godrei
Copy link
Contributor

@godrei godrei commented Nov 7, 2025

Migrate plistutil package to go-xcode/v2.

g.logger.Warnf("Filtering CodeSignInfo groups for target capabilities")

codeSignGroups = export.FilterSelectableCodeSignGroups(codeSignGroups, export.CreateEntitlementsSelectableCodeSignGroupFilter(bundleIDEntitlementsMap))
codeSignGroups = export.FilterSelectableCodeSignGroups(codeSignGroups, export.CreateEntitlementsSelectableCodeSignGroupFilter(convertToV1PlistData(bundleIDEntitlementsMap)))
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

export package is on V1 and uses V1 plistutil, until we migrate export package convertToV1PlistData converts between v2 and v1 plistutil.

}
}

const infoPlistContent = `<?xml version="1.0" encoding="UTF-8"?>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These constants were in a separate Go file in the v1 version, this way it was part of the plistutil package, even if they are only used for tests.

@@ -0,0 +1,220 @@
package plistutil
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are two changes compared to the v1 version:

@godrei godrei marked this pull request as ready for review November 10, 2025 08:27
@godrei godrei merged commit 35706e8 into master Nov 11, 2025
3 checks passed
@godrei godrei deleted the migrate-plistutil-2 branch November 11, 2025 08:18
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.

3 participants