Skip to content

Respect entitlements file above build setting for build settings affe… #474

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

baujla
Copy link
Contributor

@baujla baujla commented Apr 30, 2025

This makes it so the sandbox and hardened runtime build setting will never overwrite a setting present in the entitlements file. This is a bad state for a project to be, hence why we've added warnings for this case exactly.

The entitlements file is the authority on what entitlements should be, while the build setting here is a convenience. In this case though, the build system is acting as an authority which based on feedback is quite confusing.

@baujla
Copy link
Contributor Author

baujla commented Apr 30, 2025

@swift-ci please test

@baujla baujla enabled auto-merge (squash) April 30, 2025 23:26
@baujla baujla disabled auto-merge May 1, 2025 21:54
@baujla
Copy link
Contributor Author

baujla commented May 2, 2025

We will not be making this change, but rather we will stop implicitly setting the value for ENABLE_APP_SANDBOX In tests and will soften the warning.

@baujla baujla closed this May 2, 2025
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