For an app written by UniApp, it is good to log in when debugging, but not for a large package. Baidu says that if you want to apply for app on wechat open platform, you will open wechat login function. Before packaging, you need to fill in the AppID and appSecret of wechat open platform application in manifest.json. However, the login prompt says that the signature is inconsistent with the open platform

The signature you fill in is not the signature corresponding to the package name.

The solution

After downloading it, send it to your phone and open it

Then in wechat open platform management center/application details modify here is good

So far, it’s working. I didn’t even have a test machine, so I didn’t want to download it to my own phone at first, but there was no other solution, so luckily it worked out.