收藏
回答

微信 1.8.6sdk(ios)授权登陆报错?

App使用cocos creator(1.10)开发,升级微信SDK以匹配iOS13和Universal Links时报错如下(微信号:wxid_oadskv7efotx22,日志已上传,时间是16:18),请问该如何解决?

2020-03-27 15:53:29.711887+0800 xxgame-mobile[2726:617861] ---call ios login---

2020-03-27 15:53:29.712042+0800 xxgame-mobile[2726:618133] XPC connection interrupted

2020-03-27 15:53:29.715405+0800 xxgame-mobile[2726:617861] +[WXApi sendReq:]: unrecognized selector sent to class 0x105093ff0

2020-03-27 15:53:29.715789+0800 xxgame-mobile[2726:617861] EXCEPTION THROW: +[WXApi sendReq:]: unrecognized selector sent to class 0x105093ff0

[ERROR] (/Users/huangtao/project/CocosMjjy/build/jsb-default/frameworks/cocos2d-x/cocos/scripting/js-bindings/manual/JavaScriptObjCBridge.mm, 418): call (AppController.login) failed, result code: -4

[ERROR] Failed to invoke JavaScriptObjCBridge_callStaticMethod, location: /Users/huangtao/project/CocosMjjy/build/jsb-default/frameworks/cocos2d-x/cocos/scripting/js-bindings/manual/JavaScriptObjCBridge.mm:427



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

1 个回答

  • 涛声依旧
    涛声依旧
    2020-03-27

    已经解决!:(,没注意看文档。[WXApi sendReq:req]已经弃用!!!必须用新的接口 [WXApi sendReq:req completion:^(BOOL success) {}];

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