Hello
Welcome to Microsoft Q&A!
There are other people that meet the same question as you. Currently, a working solution from the Developer Community of Visual Studio here: Failed to sign appx is that you could try to uninstall Windows Update (KB4535996) and reboot.
If this doesn't work for you, please let me know.
Another thing is that right now Microsoft Q&A is under public preview, all the topics that supported now are listed in the right top. For questions about publishing UWP apps, you could ask in Submitting and Publishing Apps Forum in MSDN.
Thank you.