Windows Signing
- Windows 10 (Universal) Signing:
phonegap-version cli-6.1.1
and greater - Windows Phone 8.0/8.1 Signing:
phonegap-version cli-6.0.0
and below
Windows 10 (Universal) Signing
Windows builds have a slightly more involved signing process than the previous Windows Phone Publisher ID method, which was a simple GUID setting. A .pfx certificate file is now required to sign your app and distribute it to the App Store. This article on MSDN explains how to create a PFX store file. Ensure the Subject Name of your signing certificate matches the Windows Publisher ID from your Microsoft Developer Account.
Go to your PhoneGap Build Account Settings, select the Signing Keys tab, upload your Windows 10 pfx key and unlock it, and select it when building your application.
In addition:
The
author
field in yourconfig.xml
is required and must match the Publisher Display Name from Windows Dev Center -> Account Settings, i.e:<author>Adobe Systems Canada Inc</author>
A new config.xml preference
windows-identity-name
has been introduced to set the App Idenity Name in your App Manifest. This preference must match the App Identity Name from your Windows Dev Center Account -> App Management -> App Identity:<preference name="windows-identity-name" value="PhonegapBuild.PGBDeveloper" />
Windows Phone 8.0/8.1 Signing
- Log into the Windows Dev Center, and click Dashboard in the top right.
- Click Account Settings.
- Copy the Windows Publisher ID field.
- Add the Publisher ID to your Signing Keys in your PhoneGap Build Account Settings.
- Build your app using the newly added Windows Publisher ID, selected in a dropdown in your App details.
- Upload the resulting xap/appx file to the Windows Dev Center.