If you want to get the string representation of a UUID in Swift you can call the uuidString property from the struct:Copylet uuid = UUID() print("Your UUID is \(uuid.uuidString)")