微分享失败WeChatSDK: 5, 0, Universal Link check failed?
发布于 5 年前 作者 xiuyingtan 4204 次浏览 来自 官方Issues

我们App的问题,可以微信分享,但是不能唤起指定页面,之前版本一直没有问题,最近突然发现Universal Link check failed。

WeChatSDK: 0, 1, check passed,

2021-02-05 20:56:20.525772+0800 [27582:11628144] WeChatSDK: 1, 1, check passed,

2021-02-05 20:56:20.528748+0800 [27582:11628144] WeChatSDK: 2, 1, check passed,

2021-02-05 20:56:20.607493+0800 [27582:11628144] WeChatSDK: wxlog:set property list

2021-02-05 20:56:20.615125+0800 [27582:11628144] WeChatSDK: 3, 1, check passed,

2021-02-05 20:56:21.127154+0800 [27582:11628144] WeChatSDK: wxlog:launch app with ul only success

2021-02-05 20:56:21.127299+0800 [27582:11628144] WeChatSDK: 4, 1, check passed,

2021-02-05 20:56:21.127575+0800 [27582:11628144] WeChatSDK: wxlog:Successfully starting WeChat with the universal link.

WeChatSDK: 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

我们app的通用链接是https://topright-applink.zhandian.fun/apple-app-site-association
{"applinks":{"apps":[],"details":[{"appID":"B5KD5QH844.com.kuoLieYouShang.www","paths":["*"]}]}}

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

这个方法之前也没问题,现在打断点,不进方法内部了。

我们App的Universal Links:https://topright-applink.zhandian.fun/ 是这样设置的。

我们项目里面版本是

pod 'WechatOpenSDK', '1.8.7.1'

我们项目是Xcode11后创建的,创建后删除了SceneDelegate类,只保留了AppDelegate类

我对照这个文档https://developers.weixin.qq.com/doc/oplatform/Mobile_App/Access_Guide/iOS.html检查2天了,一直没发现问题,快要崩溃了,紧急请求帮忙看一下,非常感谢🙏

回到顶部