---
title: "ColorSyncProfileGetURL(_:_:)"
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/colorsyncprofilegeturl(_:_:)"
---

# ColorSyncProfileGetURL(_:_:)

Returns the URL of a profile.

## Declaration

```swift
func ColorSyncProfileGetURL(_ prof: ColorSyncProfile!, _ error: UnsafeMutablePointer<Unmanaged<CFError>?>?) -> Unmanaged<CFURL>!
```

## Parameters

- `prof`: The profile to get the URL from.
- `error`: On failure, a pointer to an error describing the problem. Optional.

## Return Value

Return Value The profile’s URL on success, or NULL in case of failure.

## See Also

### Reading profile data

- [ColorSyncProfileCopyDescriptionString(_:)](colorsync/colorsyncprofilecopydescriptionstring(_:).md)
- [ColorSyncProfileCopyHeader(_:)](colorsync/colorsyncprofilecopyheader(_:).md)
- [ColorSyncProfileGetTypeID()](colorsync/colorsyncprofilegettypeid().md)
