---
title: "ColorSyncProfileCreateWithURL(_:_:)"
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/colorsyncprofilecreatewithurl(_:_:)"
---

# ColorSyncProfileCreateWithURL(_:_:)

Creates a profile from ICC profile data at a URL.

## Declaration

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

## Parameters

- `url`: The URL to the profile data.
- `error`: On failure, a pointer to an error describing the problem. Optional.

## Return Value

Return Value A new profile, or NULL in case of failure.

## See Also

### Creating a profile

- [ColorSyncProfileCreateWithName(_:)](colorsync/colorsyncprofilecreatewithname(_:).md)
- [ColorSyncProfileCreateWithURLAndOptions(_:_:_:)](colorsync/colorsyncprofilecreatewithurlandoptions(_:_:_:).md)
- [ColorSyncProfileCreateMutable()](colorsync/colorsyncprofilecreatemutable().md)
- [ColorSyncProfileCreateMutableCopy(_:)](colorsync/colorsyncprofilecreatemutablecopy(_:).md)
