---
title: "ColorSyncProfileUninstall(_:_:)"
framework: colorsync
role: symbol
role_heading: Function
platforms: [Mac Catalyst 13.0+, macOS 10.13+]
path: "colorsync/colorsyncprofileuninstall(_:_:)"
---

# ColorSyncProfileUninstall(_:_:)

Uninstalls a profile.

## Declaration

```swift
func ColorSyncProfileUninstall(_ profile: ColorSyncProfile!, _ error: UnsafeMutablePointer<Unmanaged<CFError>?>?) -> Bool
```

## Parameters

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

## Return Value

Return Value true on success, or false in case of error.

## Discussion

Discussion The profile must return a valid URL for ColorSyncProfileGetURL(_:_:); that is, it must be created with ColorSyncProfileCreateWithURL(_:_:). Also, the URL must be in either kColorSyncProfileComputerDomain or kColorSyncProfileUserDomain, including subfolders of those. Using this function requires COLORSYNC_PROFILE_INSTALL_ENTITLEMENT.

## See Also

### Installing profiles

- [ColorSyncProfileInstall(_:_:_:_:)](colorsync/colorsyncprofileinstall(_:_:_:_:).md)
- [ColorSyncIterateInstalledProfilesWithOptions(_:_:_:_:_:)](colorsync/colorsynciterateinstalledprofileswithoptions(_:_:_:_:_:).md)
- [COLORSYNC_PROFILE_INSTALL_ENTITLEMENT](colorsync/colorsync_profile_install_entitlement.md)
- [kColorSyncProfileComputerDomain](colorsync/kcolorsyncprofilecomputerdomain.md)
- [kColorSyncProfileUserDomain](colorsync/kcolorsyncprofileuserdomain.md)
