---
title: "ColorSyncProfileCreateWithURLAndOptions(_:_:_:)"
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/colorsyncprofilecreatewithurlandoptions(_:_:_:)"
---

# ColorSyncProfileCreateWithURLAndOptions(_:_:_:)

Creates a profile from ICC profile data at a URL, using the given options.

## Declaration

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

## Parameters

- `url`: The URL to the profile data.
- `options`: A dictionary with creation options, for example doc://com.apple.colorsync/documentation/ColorSync/kColorSyncDoNotSubstituteProfiles.
- `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)
- [ColorSyncProfileCreateWithURL(_:_:)](colorsync/colorsyncprofilecreatewithurl(_:_:).md)
- [ColorSyncProfileCreateMutable()](colorsync/colorsyncprofilecreatemutable().md)
- [ColorSyncProfileCreateMutableCopy(_:)](colorsync/colorsyncprofilecreatemutablecopy(_:).md)
