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

# failOnBinaryArchiveMiss

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

## Declaration

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

## Discussion

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