收藏
回答

iOS接入微信SDK,调用自检函数,自动返回app,报PBItemCollectionSe...?

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:私聊发送,谢谢。


回答关注问题邀请回答
收藏

3 个回答

  • 社区技术运营专员-Jahozheng
    社区技术运营专员-Jahozheng
    2020-12-03

    你好,请参考https://developers.weixin.qq.com/community/develop/doc/000ce0403bc9d0ea1a0a67f415b409?_at=1606995388727

    2020-12-03
    有用
    回复 1
    • 迷糊小生
      迷糊小生
      2020-12-04
      测试项目的确是Xcode11+版本创建的,目前我已将SceneDelegate相关代码移除(包含Info.plist内相关设置),让所有都通AppDelegate代码走。

      但是依然只能到5步,然后报 Universal Links 检验不过,及 PBItemCollectionServicer connection disconnected. 错误!
      2020-12-04
      回复
  • 天涯陌客
    天涯陌客
    2020-12-04

    我跟你的差不多,自检比你的好点,都成功,微信登录、分享失败。都是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!


    2020-12-04
    有用
    回复
  • 迷糊小生
    迷糊小生
    2020-12-04

    您好,根据您给的参考文档,问题很明显是走的UISchema回调。

    另外,回调都有实现,但是由于压根不走UniversalLinks的回调,请问怎么处理?

    您看看,这些都有实现的,但是并不走这两个方法。

    相反,走的是下面两个方法。

    2020-12-04
    有用
    回复
登录 后发表内容
问题标签