When trying to sign an app directly from Safari or the Files app this error is received:

The app I’m trying to sign is unc0ver, v4.3.1
Device: iPhone Xs Max iOS 13.3
Edit, I fixed this by switching to another Apple ID, after which I received an “unknown error.” I turned off windows active virus scan and it finally signed.
Attempted gerbil-snot's method of fixing this error to no avail. iPhone 6S, iOS 13.3.
Edit: Here's what I did to get it to work.
In my experience I found that Windows Real Time Protection turned itself back on at some point. Check it frequently if you have the same issue.
The main issue I got was from Windows Real-Time Protection. It seems that when AltStore sends the IPA to AltServer windows detected it being an exploit. I guess Windows Defender is doing its job for once...
Specifically, I got these:
Turning off WRTP and rerunning it made it work right away.
Instructions for turning WRTP off:
Edit:
DO NOT FORGET TO TURN IT BACK ON AFTER BEING SIGNED!!!
WRTP IS EXTREMELY IMPORTANT (even though it has flaws) IT WILL STILL HELP YOU STAY SAFE.
I was getting "vector
I was getting "vector too long" error when trying to sign unc0ver. Solved it by just turning off windows real time protection, nothing else.
This is not a smart fix, you need to find the issue, usually 'Exploit:iPhoneOS/Vortex.A!MTB' and allow it, DO NOT turn off windows real time protection, it's much needed.
This is not a smart fix, you need to find the issue, usually 'Exploit:iPhoneOS/Vortex.A!MTB' and allow it, DO NOT turn off windows real time protection, it's much needed.
@zayn008 You only need to turn it off TEMPORARILY whilst, you sign it. And even when I whitelisted the 'Exploit:iPhoneOS/Vortex.A!MTB', it would still continually block it, being a new file.
Also, @bjmvercelli make sure you turn it back on!!! I should have mentioned that.
This is not an issue AltStore can fix since it is an issue caused by Windows. The error message has been updated to better reflect the error. Closing this issue.
Most helpful comment
The main issue I got was from Windows Real-Time Protection. It seems that when AltStore sends the IPA to AltServer windows detected it being an exploit. I guess Windows Defender is doing its job for once...
Specifically, I got these:
Turning off WRTP and rerunning it made it work right away.
Instructions for turning WRTP off:
Edit:
DO NOT FORGET TO TURN IT BACK ON AFTER BEING SIGNED!!!
WRTP IS EXTREMELY IMPORTANT (even though it has flaws) IT WILL STILL HELP YOU STAY SAFE.