---
title: "validate(url:)"
framework: Immersive Media Support
role: symbol
role_heading: Type Method
platforms: [iOS 26.4+, iPadOS 26.4+, Mac Catalyst 26.4+, macOS 26.0+, visionOS 26.0+]
path: "immersivemediasupport/aivuvalidator/validate(url:)"
---

# validate(url:)

Validates the AIVU file given its URL. It throws an error message with error details, if any.

## Declaration

```swift
static func validate(url: URL) async throws -> Bool
```

## Parameters

- `url`: The url of an AIVU file to be validated.

## Discussion

Discussion note: This function throws an exception with error details, if any.
