TechnologiesSecurity, Privacy & Authentication

ExecutionPolicy

iOSmacOStvOSwatchOSvisionOS

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.

  • Cl
    EPExecutionPolicymacOS 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.

  • Cl
    EPDeveloperToolmacOS 10.15+
    An object that represents a developer tool and lets you inspect its execution-policy run status.
  • En
    EPDeveloperToolStatusmacOS 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.

  • St
    EPErrormacOS 10.15+
    An error type that describes failures encountered while querying or applying the execution policy.
← Security, Privacy & Authentication