---
title: failOnBinaryArchiveMiss
framework: metal
role: symbol
role_heading: Type Property
path: metal/mtlpipelineoption/failonbinaryarchivemiss
---

# failOnBinaryArchiveMiss

An option that instructs the compiler to return an error when a GPU function isn’t in a binary archive.

## Declaration

```swift
static var failOnBinaryArchiveMiss: MTLPipelineOption { get }
```

## Mentioned in

Creating binary archives from device-built pipeline state objects

## Discussion

Discussion By default, Metal compiles the functions for a pipeline state if they aren’t in a binary archive. When you set this option, Metal returns an error instead of compiling a missing function.

## See Also

### Retrieving argument information

- [bufferTypeInfo](metal/mtlpipelineoption/buffertypeinfo.md)
- [argumentInfo](metal/mtlpipelineoption/argumentinfo.md)
