一样的问题
wxlog:Error:set token fail, errCode:4, errLog:wx ?wxlog:Error:set token fail, errCode:4, errLog:wx token[] or contextId[(null)] is nil! 微信登录的时候产生了错误。 使用SendAuthReq()后报了以上错误: @objc func wxLogin() { let req = SendAuthReq() req.openID = "wxxxxxxxxxxxxxxxxc" req.scope = "snsapi_userinfo" req.state = "12345" WXApi.send(req) } 使用checkUniversalLinkReady: WXApi.checkUniversalLinkReady { (step, result) in print("step:", step) print("result:", result.success, result.errorInfo, result.suggestion) } 控制台打印: step: WXULCheckStep result: true Universal Link check passed. The application is launched by WeChat via Universal Link step: WXULCheckStep result: true All Check Passed! 微信登录的错误在手机上表现为: 点击App上的登录后,跳转到微信,出现“正在登录中”的提示,后立即返回App。然后报错:set token fail, errCode:4
2021-01-28日志提交时间:2021-01-27 2:04 appid: wxd27475d9b1f68fda 微信Xddd_nXs
checkReady全部pass,报错set token fail,onreq onresq不调用?SDK: 1.8.7.1 ios14.2 微信8.0.1 onreq和onresp打了断点 没进入这两个方法 日志如下: [图片] 代码如下: [图片][图片][图片]
2021-01-27