Sign a UWP application

Use Unity Build Automation to sign your Universal Windows Platform (UWP) application during the build process. This ensures your UWP application meets the requirements for installation on Windows devices or deployment to the Microsoft Store.

UWP applications require digital signing with a certificate before they can be installed on devices or published to the Microsoft Store. This certificate verifies the app's publisher and establishes trust for users installing your application.

Prerequisites

  • To sign UWP applications, you need a Microsoft Developer License. This license allows you to create and sign applications for the Windows platform.
  • To sign your UWP application, you need a Personal Information Exchange (.pfx) certificate file. Microsoft provides official documentation on how to create a certificate for package signing.

Note: If you plan to publish your application to the Microsoft Store, you need to register for a Microsoft Partner Center developer account.

Configure Unity Build Automation signing

To associate your signing credentials with your UWP build target:

  1. Open DevOps in the Unity Cloud Dashboard.
  2. Select Build Automation > Configurations.
  3. Select the Edit (pencil) icon for your UWP build target. Or, you can create a new build target for UWP.
  4. In the build target configuration, navigate to the Credentials section.
  5. For Microsoft Developer License, select Add new developer license from the dropdown menu.
  6. Enter the following information:
    FieldDescription
    NameEnter a descriptive name for your credentials set.
    Certificate file (.pfx)Upload your .pfx certificate file.
    Certificate file passwordEnter the password you assigned to the certificate file.
  7. Select Save Changes to apply your configuration.

Build Target Configuration - UWP Signing

Troubleshoot UWP signing

If you encounter issues with UWP signing, check the following solutions:

  • Ensure your certificate file (.pfx) is valid and not expired.
  • Verify that the certificate password is correct.
  • Check that the certificate has the appropriate permissions for application signing.
  • Review the build logs for any specific error messages related to signing.

For additional help with UWP application signing, refer to the Microsoft documentation on app signing.