ExecutionPolicy manages the system execution policy for developer tools on macOS, controlling whether binaries are permitted to run through an XPC-backed service. You use EPExecutionPolicy to query and apply the policy, and EPDeveloperTool together with EPDeveloperToolStatus to inspect and represent the run status of a developer tool. Failures surface through EPError.
Execution Policy 1
Query and apply the system execution policy that governs whether developer tools are permitted to run.
- ClEPExecutionPolicymacOS 10.15+An object that queries and applies the system execution policy controlling whether developer tool binaries are permitted to run.
Developer Tools 2
Inspect a developer tool and represent its current run-authorization status.
- ClEPDeveloperToolmacOS 10.15+An object that represents a developer tool and lets you inspect its execution-policy run status.
- EnEPDeveloperToolStatusmacOS 10.15+Constants that describe the run-authorization status of a developer tool under the system execution policy.
Errors 1
The error type that surfaces failures from execution-policy operations.
- StEPErrormacOS 10.15+An error type that describes failures encountered while querying or applying the execution policy.