---
title: "ColorSyncProfileVerify(_:_:_:)"
framework: colorsync
role: symbol
role_heading: Function
platforms: [iOS 16.0+, iPadOS 16.0+, Mac Catalyst 13.0+, macOS 10.13+, tvOS 16.0+, visionOS 1.0+, watchOS 9.0+]
path: "colorsync/colorsyncprofileverify(_:_:_:)"
---

# ColorSyncProfileVerify(_:_:_:)

Verifies whether a profile can be used.

## Declaration

```swift
func ColorSyncProfileVerify(_ prof: ColorSyncProfile!, _ errors: UnsafeMutablePointer<Unmanaged<CFError>?>?, _ warnings: UnsafeMutablePointer<Unmanaged<CFError>?>?) -> Bool
```

## Parameters

- `prof`: The profile to verify.
- `errors`: Returns error strings in case problems are found that would prevent use of the profile.
- `warnings`: Returns warning strings indicating problems due to lack of conformance with the ICC specification, but not preventing use of the profile.

## Return Value

Return Value true if the profile can be used; otherwise, false.

## See Also

### Inspecting color characteristics

- [ColorSyncProfileIsWideGamut(_:)](colorsync/colorsyncprofileiswidegamut(_:).md)
- [ColorSyncProfileIsPQBased(_:)](colorsync/colorsyncprofileispqbased(_:).md)
- [ColorSyncProfileIsHLGBased(_:)](colorsync/colorsyncprofileishlgbased(_:).md)
- [ColorSyncProfileIsMatrixBased(_:)](colorsync/colorsyncprofileismatrixbased(_:).md)
- [ColorSyncProfileEstimateGamma(_:_:)](colorsync/colorsyncprofileestimategamma(_:_:).md)
