分享成功未验证应用
前言:不要再发文档了,安装文档来的,找不到原因。 步骤: 1.微信开放平台设置: [图片] 2.apple-app-site-association 配置 [图片] 3.上传服务器根目录访问 https://www.dawnhealthy.com/apple-app-site-association [图片] 浏览器输入https://www.dawnhealthy.com/ios 提示404。 [图片] 4.代码注册 [WXApi registerApp:wechatAppId universalLink:UNIVERSAL_LINK]; static NSString * const UNIVERSAL_LINK = @"https://www.dawnhealthy.com/ios/"; 5.Associated Domains 设置 [图片] 6 xxx.entitlements [图片] 实现 continueUserActivity 方法 - (BOOL)application:(UIApplication *)application continueUserActivity:(NSUserActivity *)userActivity restorationHandler:(void (^)(NSArray<id<UIUserActivityRestoring>> * _Nullable))restorationHandler{ return [WXApi handleOpenUniversalLink:userActivity delegate:self]; 出现问题:分享,登录,一切都可以 也不跳转2次,但是分享后 消息下面 显示 未验证应用 调用微信自检函数 WeChatSDK自检: 0, 1, check passed, WeChatSDK自检: 1, 1, check passed, WeChatSDK自检: 2, 1, check passed, WeChatSDK自检: 3, 1, check passed, WeChatSDK自检: 4, 1, check passed, WeChatSDK自检: 5, 1, Universal Link check passed. The application is launched by WeChat via Universal Link, WeChatSDK自检: 6, 1, All Check Passed!,