Skip to content

Conversation

@MaxDesiatov
Copy link
Contributor

Motivation:

For enabling backtraces on macOS we need to grant a certain entitlement on executables built with SwiftPM. For that we need to write out a plist file with this entitlement setting.

This new auxiliary file type allows writing an entitlements plist file during the build process.

Related to rdar://112065568.

Modifications:

Added WriteAuxiliary.EntitlementPlist with a corresponding test, moved LLBuildManifestTests into its own test target that depends only on the LLBuildManifest target and few required targets such as Basics and test support target.

Result:

A corresponding build step can be added to build description and build planning in a subsequent PR.

This new auxiliary file type allows writing an entitlements plist file during the build process.

Related to rdar://112065568.
@MaxDesiatov
Copy link
Contributor Author

@swift-ci test

@MaxDesiatov
Copy link
Contributor Author

@swift-ci test linux

@MaxDesiatov
Copy link
Contributor Author

@swift-ci test macos

@MaxDesiatov MaxDesiatov enabled auto-merge (squash) October 5, 2023 18:18
@MaxDesiatov MaxDesiatov merged commit 63e1787 into main Oct 5, 2023
@MaxDesiatov MaxDesiatov deleted the maxd/entitlements-plist branch October 5, 2023 18:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants