---
title: Creating a Metal dynamic library
framework: metal
role: sampleCode
role_heading: Sample Code
path: metal/creating-a-metal-dynamic-library
---

# Creating a Metal dynamic library

Compile a library of shaders and write it to a file as a dynamically linked library.

## Overview

Overview note: This sample code project is associated with WWDC20 session 10615: Build GPU Binaries with Metal. Configure the sample code project This sample requires the following system and software configuration: macOS 10.16 or later iOS 14 or later Xcode 12 or later

## See Also

### Shaders

- [Using function specialization to build pipeline variants](metal/using-function-specialization-to-build-pipeline-variants.md)
