<!--
{
  "availability" : [
    "iOS: 26.4.0 -",
    "iPadOS: 26.4.0 -",
    "macCatalyst: 26.4.0 -",
    "macOS: 26.0.0 -",
    "visionOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ImmersiveMediaSupport",
  "identifier" : "/documentation/ImmersiveMediaSupport/AIVUValidator/validate(url:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "Immersive Media Support"
    ],
    "preciseIdentifier" : "s:21ImmersiveMediaSupport13AIVUValidatorV8validate3urlSb10Foundation3URLV_tYaKFZ"
  },
  "title" : "validate(url:)"
}
-->

# validate(url:)

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

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

## Parameters

`url`

The url of an AIVU file to be validated.

## Discussion> Throws: This function throws an exception with error details, if any.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)