opensdk:1.8.7.1,开发语言:swiftui,在对接微信登录时,始终无法触发回调。
框架只使用了appdelegate,也按照文档的方式完成了对接,但是continue userActivity: NSUserActivity方法不执行,open url: URL方法也不执行。
打印了微信的日志:
微信日志:wxlog:send req[<SendAuthReq: 0x282783ea0>], appID:xxxxxxxxxxxxxxx, universalLink:https://host/user/wxPay/, sdkVersion:1.8.7.1,级别:1
微信日志:wxlog:set property list,级别:1
微信日志:wxlog:Error:fail to load Keychain status:-25300, keyData null:1,级别:1
微信日志:wxlog:token[(null)] is null,级别:1
微信日志:wxlog:launch app with ul only success,级别:1
微信日志:wxlog:launch app with universal link, ret:1,级别:1
微信日志:wxlog:req:<SendAuthReq: 0x282783ea0>, cid:0b4a971918ca97be99b613d3b712be8d5c92a8ba,级别:1
参考下知识库排查下
https://developers.weixin.qq.com/community/develop/doc/000ce0403bc9d0ea1a0a67f415b409?highLine=sdk
在手机微信那里上传下日志: 我->设置->帮助与反馈右上角有个上报日志的入口,麻烦提供一下微信号,时间点
微信检查universalLink的日志如下:
微信日志,登录检查:step:0,success:true,errorInfo:check passed,suggestion:
微信日志,登录检查:step:1,success:true,errorInfo:check passed,suggestion:
微信日志,登录检查:step:2,success:true,errorInfo:check passed,suggestion:
微信日志,登录检查:step:3,success:true,errorInfo:check passed,suggestion:
微信日志,登录检查:step:4,success:true,errorInfo:check passed,suggestion:
微信日志,登录检查:step:5,success:true,errorInfo:Universal Link check passed. The application is launched by WeChat via Universal Link,suggestion:
微信日志,登录检查:step:6,success:true,errorInfo:All Check Passed!,suggestion: