---
title: adhoc
framework: security
role: symbol
role_heading: Type Property
path: security/seccodesignatureflags/adhoc
---

# adhoc

Must be used without a signing identity.

## Declaration

```swift
static var adhoc: SecCodeSignatureFlags { get }
```

## Discussion

Discussion The code has been sealed without a signing identity. No identity may be retrieved from it, and any code requirement placing restrictions on the signing identity will fail. This flag is set by Code Signing Services when you create an ad-hoc signature, and cannot be set explicitly. An ad-hoc signature is created by signing with the pseudo-identity “-” (a dash).
