iOS接入微信SDK,调用自检函数,只完成到第5步,自动返回app后,报PBItemCollectionSe...?
检查过universallinks配置等都没问题!
2020-12-02 17:34:34.190687+0800 TestWeChatSDK[9689:2183743] 自检:第0步, 成功:1, 错误信息:check passed, 建议:无 2020-12-02 17:34:34.191212+0800 TestWeChatSDK[9689:2183743] 自检:第1步, 成功:1, 错误信息:check passed, 建议:无 2020-12-02 17:34:34.194361+0800 TestWeChatSDK[9689:2183743] 自检:第2步, 成功:1, 错误信息:check passed, 建议:无 2020-12-02 17:34:34.471827+0800 TestWeChatSDK[9689:2183743] log : wxlog:set property list 2020-12-02 17:34:34.478958+0800 TestWeChatSDK[9689:2183743] 自检:第3步, 成功:1, 错误信息:check passed, 建议:无 2020-12-02 17:34:34.618875+0800 TestWeChatSDK[9689:2183743] log : wxlog:launch app with ul only success 2020-12-02 17:34:34.618967+0800 TestWeChatSDK[9689:2183743] 自检:第4步, 成功:1, 错误信息:check passed, 建议:无 2020-12-02 17:34:34.619007+0800 TestWeChatSDK[9689:2183743] log : wxlog:Successfully starting WeChat with the universal link. 2020-12-02 17:34:34.852797+0800 TestWeChatSDK[9689:2183919] PBItemCollectionServicer connection disconnected.
自检函数也只能到第5步,后面两步不走了!相关代理方法也都是先~
请问 是哪里出现的问题,谢谢!
微信AppKey:私聊发送,谢谢。
你好,请参考https://developers.weixin.qq.com/community/develop/doc/000ce0403bc9d0ea1a0a67f415b409?_at=1606995388727
但是依然只能到5步,然后报 Universal Links 检验不过,及 PBItemCollectionServicer connection disconnected. 错误!
2020-12-04 11:38:47.723266+0800 TestWeChatSDK[13290:3141539] 自检:第0步, 成功:1, 错误信息:check passed, 建议:无
2020-12-04 11:38:47.723751+0800 TestWeChatSDK[13290:3141539] 自检:第1步, 成功:1, 错误信息:check passed, 建议:无
2020-12-04 11:38:47.728048+0800 TestWeChatSDK[13290:3141539] 自检:第2步, 成功:1, 错误信息:check passed, 建议:无
2020-12-04 11:38:47.741951+0800 TestWeChatSDK[13290:3141539] log : wxlog:set property list
2020-12-04 11:38:47.757453+0800 TestWeChatSDK[13290:3141539] 自检:第3步, 成功:1, 错误信息:check passed, 建议:无
2020-12-04 11:38:51.607162+0800 TestWeChatSDK[13290:3141745] PBItemCollectionServicer connection disconnected.
2020-12-04 11:38:51.816235+0800 TestWeChatSDK[13290:3141539] log : wxlog:launch app with ul only success
2020-12-04 11:38:51.816645+0800 TestWeChatSDK[13290:3141539] 自检:第4步, 成功:1, 错误信息:check passed, 建议:无
2020-12-04 11:38:51.816746+0800 TestWeChatSDK[13290:3141539] log : wxlog:Successfully starting WeChat with the universal link.
2020-12-04 11:38:52.299723+0800 TestWeChatSDK[13290:3141539] =========> application:openURL:options:
2020-12-04 11:38:52.299972+0800 TestWeChatSDK[13290:3141539] 自检:第5步, 成功:0, 错误信息:Universal Link check failed. The application is launched by WeChat via scheme, 建议:Common problems self-check guide: [微信开放平台App iOS端接入新版本SDK 常见问题自查指引]https://developers.weixin.qq.com/community/develop/doc/000ce0403bc9d0ea1a0a67f415b409
2020-12-04 11:38:52.300163+0800 TestWeChatSDK[13290:3141539] log : wxlog:Error:WXCheckULStepResult[success: 0, errorInfo: Universal Link check failed. The application is launched by WeChat via scheme, suggestion: Common problems self-check guide: [微信开放平台App iOS端接入新版本SDK 常见问题自查指引]https://developers.weixin.qq.com/community/develop/doc/000ce0403bc9d0ea1a0a67f415b409]
我跟你的差不多,自检比你的好点,都成功,微信登录、分享失败。都是PBItemCollectionServicer connection disconnected.
sdkVersion:1.8.7.1
2020-12-04 17:24:14.863311+0800 TestAPP[9162:1490517] 0, 1, check passed,
2020-12-04 17:24:14.863492+0800 TestAPP[9162:1490517] 1, 1, check passed,
2020-12-04 17:24:14.865623+0800 TestAPP[9162:1490517] 2, 1, check passed,
2020-12-04 17:24:14.890896+0800 TestAPP[9162:1490517] WeChatSDK: wxlog:set property list
2020-12-04 17:24:14.905608+0800 TestAPP[9162:1490517] 3, 1, check passed,
2020-12-04 17:24:14.994011+0800 TestAPP[9162:1490517] WeChatSDK: wxlog:Error:register fail, universal link is nil!
2020-12-04 17:24:14.994133+0800 TestAPP[9162:1490517] WeChatSDK: wxlog:Error:register fail, universal link is nil!
2020-12-04 17:24:14.994263+0800 TestAPP[9162:1490517] WeChatSDK: wxlog:Error:register fail, universal link is nil!
2020-12-04 17:24:15.311018+0800 TestAPP[9162:1490517] WeChatSDK: wxlog:launch app with ul only success
2020-12-04 17:24:15.311430+0800 TestAPP[9162:1490517] 4, 1, check passed,
2020-12-04 17:24:15.311501+0800 TestAPP[9162:1490517] WeChatSDK: wxlog:Successfully starting WeChat with the universal link.
2020-12-04 17:24:15.461846+0800 TestAPP[9162:1490645] PBItemCollectionServicer connection disconnected.
2020-12-04 17:24:21.388409+0800 TestAPP[9162:1490517] 5, 1, Universal Link check passed. The application is launched by WeChat via Universal Link,
2020-12-04 17:24:21.388663+0800 TestAPP[9162:1490517] WeChatSDK: wxlog:WXCheckULStepResult[success: 1, errorInfo: Universal Link check passed. The application is launched by WeChat via Universal Link, suggestion: ]
2020-12-04 17:24:21.388722+0800 TestAPP[9162:1490517] 6, 1, All Check Passed!,
2020-12-04 17:24:21.388778+0800 TestAPP[9162:1490517] WeChatSDK: wxlog:WXCheckULStepResult[success: 1, errorInfo: All Check Passed!, suggestion: ]
执行微信登录:
2020-12-04 17:24:47.760694+0800 TestAPP[9162:1490517] WeChatSDK: wxlog:send req[<SendAuthReq: 0x282beb4b0>], appID:xxxxxxxxxxx, universalLink:https:/xxxx/app/, sdkVersion:1.8.7.1
2020-12-04 17:24:47.764151+0800 TestAPP[9162:1490517] WeChatSDK: wxlog:set property list
2020-12-04 17:24:47.803135+0800 TestAPP[9162:1490517] WeChatSDK: wxlog:launch app with ul only success
2020-12-04 17:24:47.803718+0800 TestAPP[9162:1490517] WeChatSDK: wxlog:launch app with universal link, ret:1
2020-12-04 17:24:47.803809+0800 TestAPP[9162:1490517] WeChatSDK: wxlog:req:<SendAuthReq: 0x282beb4b0>, cid:88121d78ab9dcf2483f2f176fbe92f0cc12abdd4
2020-12-04 17:24:47.971998+0800 TestAPP[9162:1490647] PBItemCollectionServicer connection disconnected.
2020-12-04 17:24:48.654012+0800 TestAPP[9162:1490517] WeChatSDK: wxlog:Error:set token fail, errCode:4, errLog:wx token[] or contextId[(null)] is nil!
您好,根据您给的参考文档,问题很明显是走的UISchema回调。
另外,回调都有实现,但是由于压根不走UniversalLinks的回调,请问怎么处理?
您看看,这些都有实现的,但是并不走这两个方法。
相反,走的是下面两个方法。