收藏
回答

iOS授权登录[WXApi genExtraUrlByReq:withAppData:]后续问题?

最开始是找不到对应的方法报错

==*=={-[WechatProxy registerWithConfiguration:]_block_invoke_2}==*==[Line 52]WeChatSDK: 0, 1, check passed,

2020-06-09 11:21:14.312481+0800 DoctorHD[528:31816]

==*=={-[WechatProxy registerWithConfiguration:]_block_invoke_2}==*==[Line 52]WeChatSDK: 1, 1, check passed,

2020-06-09 11:21:14.315092+0800 DoctorHD[528:31816]

==*=={-[WechatProxy registerWithConfiguration:]_block_invoke_2}==*==[Line 52]WeChatSDK: 2, 1, check passed,

2020-06-09 11:21:14.342125+0800 DoctorHD[528:31816]

==*=={-[WechatProxy registerWithConfiguration:]_block_invoke}==*==[Line 45]WeChatSDK: wxlog:set property list

2020-06-09 11:21:14.359086+0800 DoctorHD[528:31816] +[WXApi genExtraUrlByReq:withAppData:]: unrecognized selector sent to class 0x1015a9da0

因不能添加 -all_load 所以将 Other Linker Flags 修改为 -force_load 后,运行没有报错

但分享的时候跳转到微信显示后立即返回、“正在链接”字符未看见!

目前能确认的是

AppDelegate 已添加

- (BOOL)application:(UIApplication *)application continueUserActivity:(NSUserActivity *)userActivity restorationHandler:(nonnull void (^)(NSArray<id<UIUserActivityRestoring>> * _Nullable))restorationHandler {

    return [WXApi handleOpenUniversalLink:userActivity delegate:self];

}

universalLink 验证没有问题

自检函数时输出时

==*=={-[WechatProxy registerWithConfiguration:]_block_invoke_2}==*==[Line 52]WeChatSDK: 0, 1, check passed,

==*=={-[WechatProxy registerWithConfiguration:]_block_invoke_2}==*==[Line 52]WeChatSDK: 1, 1, check passed,

==*=={-[WechatProxy registerWithConfiguration:]_block_invoke_2}==*==[Line 52]WeChatSDK: 2, 1, check passed,

==*=={-[WechatProxy registerWithConfiguration:]_block_invoke}==*==[Line 45]WeChatSDK: wxlog:set property list

==*=={-[WechatProxy registerWithConfiguration:]_block_invoke_2}==*==[Line 52]WeChatSDK: 3, 1, check passed,

==*=={-[WechatProxy registerWithConfiguration:]_block_invoke}==*==[Line 45]WeChatSDK: wxlog:launch app with ul only success

==*=={-[WechatProxy registerWithConfiguration:]_block_invoke_2}==*==[Line 52]WeChatSDK: 4, 1, check passed,

==*=={-[WechatProxy registerWithConfiguration:]_block_invoke}==*==[Line 45]WeChatSDK: wxlog:Successfully starting WeChat with the universal link.


openID wx06179ec254e7a126

时间节点2020-06-09 12:19:00


微信版本 7.0.11

iOS版本 13.1.2

ipad 第6代

希望工作人员看见 协助解决一下


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

1 个回答

登录 后发表内容
问题标签