Skip to content

Conversation

ThomasDutartre
Copy link

@ThomasDutartre ThomasDutartre commented Jul 17, 2025

Add SchemeCodeSignEntitlements method and unit tests

Adds a new SchemeCodeSignEntitlements method to the Workspace struct that retrieves and parses code signing entitlements for a given scheme and configuration.

The method:

  • Fetches build settings to locate the CODE_SIGN_ENTITLEMENTS file path
  • Resolves the absolute path relative to the workspace directory
  • Reads and parses the entitlements plist file
  • Returns the entitlements as a serialized object

Also includes comprehensive unit tests to ensure robust functionality and error handling.

Needed for this pr : bitrise-steplib/steps-xcode-archive#384

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.

1 participant