<!--
{
  "availability" : [
    "macCatalyst: 13.0.0 -",
    "macOS: 10.13.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ColorSync",
  "identifier" : "/documentation/ColorSync/ColorSyncProfileUninstall(_:_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "ColorSync"
    ],
    "preciseIdentifier" : "c:@F@ColorSyncProfileUninstall"
  },
  "title" : "ColorSyncProfileUninstall(_:_:)"
}
-->

# ColorSyncProfileUninstall(_:_:)

Uninstalls a profile.

```
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

`true` on success, or `false` in case of error.

## Discussion

The profile must return a valid URL for [`ColorSyncProfileGetURL(_:_:)`](/documentation/ColorSync/ColorSyncProfileGetURL(_:_:)); that is, it must be created
with [`ColorSyncProfileCreateWithURL(_:_:)`](/documentation/ColorSync/ColorSyncProfileCreateWithURL(_:_:)). Also, the URL must be in either
[`kColorSyncProfileComputerDomain`](/documentation/ColorSync/kColorSyncProfileComputerDomain) or [`kColorSyncProfileUserDomain`](/documentation/ColorSync/kColorSyncProfileUserDomain), including subfolders of
those.

Using this function requires `COLORSYNC_PROFILE_INSTALL_ENTITLEMENT`.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)