第五步的话: 假如想要链接:https://test.com/app 来响应打开APP 文件路径是:https://test.com/apple-app-site-association 文件里面写的是: { "appID": "(teamid).(bundle id)", "paths": ["/app/*"] } 然后检查下: 1、先看苹果开发者中心那边的设置对不对。只要打勾就行了。 2、看项目domains里面配置对不对。这里是: applinks:test.com 3、看看微信开放平台配置对不对Universal Links:https://test.com/app/ (注意这里有斜杆) 4、SDK初始化里面的WECHAT_UNIVERSAL_LINK,这里是:https://test.com/app (最后没有斜杠) 5、如果确认全都对,自检代码,也还是第五步。那么打开备忘录,写一段https://test.com/app ,换行,会变成可以点击链接,大力按下去看底部有 在XXX中打开 么?如果还没有,建议删除掉APP,重装,如果还是不行。建议重启下手机(不重启手机基本很难拉新的)。再重新打开APP和微信。大概打开两次后。就会重新拉新的。【前提你得确认前面4步都没弄错。】
自检Universal Link check failed.2020-10-13 15:42:59.629249+0800 鱼塘[440:21809] log---- 0, 1, check passed, 2020-10-13 15:42:59.631443+0800 鱼塘[440:21809] log---- 1, 1, check passed, 2020-10-13 15:42:59.642688+0800 鱼塘[440:21809] log---- 2, 1, check passed, 2020-10-13 15:42:59.757900+0800 鱼塘[440:21809] log---- : wxlog:set property list 2020-10-13 15:42:59.765894+0800 鱼塘[440:21809] log---- 3, 1, check passed, 2020-10-13 15:42:59.769933+0800 鱼塘[440:21809] log---- : wxlog:send req[<SendMessageToWXReq: 0x281d16d00>], appID:wx4e1eda806ff28b84, universalLink:https://youngtown.cn/FishPond/, sdkVersion:1.8.7.1 2020-10-13 15:42:59.775615+0800 鱼塘[440:21809] log---- : wxlog:set property list 2020-10-13 15:42:59.786046+0800 鱼塘[440:21809] log---- : wxlog:Error:fail to load Keychain status:-25300, keyData null:1 2020-10-13 15:42:59.786082+0800 鱼塘[440:21809] log---- : wxlog:token[(null)] is null 2020-10-13 15:42:59.829822+0800 鱼塘[440:21809] log---- : wxlog:launch app with ul only success 2020-10-13 15:42:59.829900+0800 鱼塘[440:21809] log---- 4, 1, check passed, 2020-10-13 15:42:59.829932+0800 鱼塘[440:21809] log---- : wxlog:Successfully starting WeChat with the universal link. 2020-10-13 15:43:00.662489+0800 鱼塘[440:21809] log---- : wxlog:Error:launch app with ul only fail, url:https://help.wechat.com/app/wx4e1eda806ff28b84/sendreq/?wechat_auth_context_id=c30e17385dd7917cfd118503fd03943562a8c51d&wechat_app_bundleId=com.ssyt.FishPond 2020-10-13 15:43:00.663211+0800 鱼塘[440:21809] log---- : wxlog:Error:lauch app fail and need degrade, url:https://help.wechat.com/app/wx4e1eda806ff28b84/sendreq/?wechat_auth_context_id=c30e17385dd7917cfd118503fd03943562a8c51d&wechat_app_bundleId=com.ssyt.FishPond, schemeURL:weixin://app/wx4e1eda806ff28b84/sendreq/?wechat_app_bundleId=com.ssyt.FishPond&wechat_degrade_launch_by_scheme=1 2020-10-13 15:43:00.687250+0800 鱼塘[440:21809] log---- : wxlog:launch app with url success 2020-10-13 15:43:00.687551+0800 鱼塘[440:21809] log---- : wxlog:degrade launch app ret:1, with url:weixin://app/wx4e1eda806ff28b84/sendreq/?wechat_app_bundleId=com.ssyt.FishPond&wechat_degrade_launch_by_scheme=1 2020-10-13 15:43:01.662329+0800 鱼塘[440:21809] log---- 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 2020-10-13 15:43:01.662517+0800 鱼塘[440:21809] log---- : wxlog:Error:WXCheckULStepResult[success: 0, errorInfo: Universal Link check failed. The application is launched by WeChat via scheme, suggestion: Common problems self-check guide: [微信开放平台App iOS端接入新版本SDK 常见问题自查指引]https://developers.weixin.qq.com/community/develop/doc/000ce0403bc9d0ea1a0a67f415b409]
2022-08-01同样也是到 wechat_> 4, 1, check passed, 之后就没有5、6,最后发现少了回调。 - (BOOL)application:(UIApplication *)app openURL:(NSURL *)url options:(NSDictionary<UIApplicationOpenURLOptionsKey, id> *)options { return [WXApi handleOpenURL:url delegate:self]; } - (BOOL)application:(UIApplication *)application continueUserActivity:(NSUserActivity *)userActivity restorationHandler:(void(^)(NSArray<id<UIUserActivityRestoring>> * __nullable restorableObjects))restorationHandler { return [WXApi handleOpenUniversalLink:userActivity delegate:self]; }
接入微信登录一直出现:由于应用Universal Link校验不通过?在线等答复,具体问题如题,额外请教个问题:微信应用本身已是审核通过的状态,后台后期新增IOS内容填写Universal Link,是否需要后台审核后才能生效? SDK版本1.8.7.1? 自己应用正常呼出微信,微信会弹出UI界面:由于应用Universal Link校验不通过 返回应用。 应用所填写的Universal Link在手机备忘录内添加,点击后可以正常呼叫起自己的应用。 日志打印如下: checkUniversalLinkReady: 0, 1, check passed, checkUniversalLinkReady: 1, 1, check passed, checkUniversalLinkReady: 2, 1, check passed, WeChatSDK: wxlog:set property list checkUniversalLinkReady: 3, 1, check passed, WeChatSDK: wxlog:launch app with ul only success checkUniversalLinkReady: 4, 1, check passed, WeChatSDK: wxlog:Successfully starting WeChat with the universal link.
2021-02-23