微信 1.8.6sdk(ios)授权登陆报错?
发布于 8 年前 作者 ijiang 1662 次浏览 来自 官方Issues

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 回复

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

回到顶部