OnDiskCodeRequirement
A lightweight code requirement that you use to evaluate a code file on disk.
Declaration
struct OnDiskCodeRequirementOverview
OnDiskCodeRequirement objects can only be built using constraints that conform to the OnDiskConstraint protocol. Specifically OnDiskCodeRequirement objects will be matched against a SecStaticCodeRef. A SecStaticCodeRef may reference any of the following:
The main executable of a bundle
A specific file on disk
The region of a Mach-O pertaining to a specific architecture (e.g. x86_64, arm64, arm64e).