---
title: "xpc_uuid_create(_:)"
framework: xpc
role: symbol
role_heading: Function
path: "xpc/xpc_uuid_create(_:)"
---

# xpc_uuid_create(_:)

Creates an XPC object that represents a universally unique identifier (UUID).

## Declaration

```swift
func xpc_uuid_create(_ uuid: UnsafePointer<UInt8>) -> xpc_object_t
```

## Parameters

- `uuid`: The UUID which is to be boxed.

## Return Value

Return Value A new UUID object.

## See Also

### UUID objects

- [xpc_uuid_get_bytes(_:)](xpc/xpc_uuid_get_bytes(_:).md)
