Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Publisher attribute of the Identity element in AppxManifest (Cordova)

I am trying to publish windows phone cordova application on windows store. I build application with:

cordova build widows --release

When upload, I am getting error

Package acceptance validation error: The Publisher attribute of the Identity element in the app manifest of file CordovaApp.xxx.appx is CN=$username$, which doesn't match your publisher ID: CN=xxxxxxxxxxxxx.

I tried associate app with defining next line config.xml:

  <preference name="windows-publisher-id" value="-appCN-" />

but there is stil:

 <Identity Name="xxx" Publisher="CN=$username$" Version="1.0.0.0" ProcessorArchitecture="neutral" />

in AppxManifest.xml after build. How can I specify CN value? (I am not using Visual Studio)

like image 427
dule Avatar asked Dec 02 '25 15:12

dule


1 Answers

Try changing the Publisher attribute of the Identity tag in /platforms/windows/package.phone.appxmanifest

EDIT: There is now a better solution (see cadesalaberry's answer below)

like image 185
Grimbot Avatar answered Dec 04 '25 06:12

Grimbot



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!