<!--
{
  "availability" : [

  ],
  "documentType" : "symbol",
  "framework" : "applicensedeliverysdk",
  "identifier" : "/documentation/AppLicenseDeliverySDK/ALDSession/generateLicenseResponse()",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "App License Delivery SDK"
    ],
    "preciseIdentifier" : "s:3ALD10ALDSessionC23generateLicenseResponseSays5UInt8VGyKF"
  },
  "title" : "generateLicenseResponse()"
}
-->

# generateLicenseResponse()

Generates a license response. This method produces a license response, in a bytes array. The response is not yet signed.

```
func generateLicenseResponse() throws -> [UInt8]
```

## Return Value

license in byte array

---

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)