---
title: "compileModel(at:)"
framework: coreml
role: symbol
role_heading: Type Method
path: "coreml/mlmodel/compilemodel(at:)"
---

# compileModel(at:)

## Declaration

```swift
class func compileModel(at modelURL: URL) async throws -> URL
```

## See Also

### Compiling a model

- [compileModel(at:completionHandler:)](coreml/mlmodel/compilemodel(at:completionhandler:).md)
