关于微信分享显示“正在连接”,“未验证应用”以及未正确加载apple-app-site-association配置文件问题说明

最近解决了ios13设备以上 微信分享显示”正在连接“然后返回app没有二次跳转的问题。

微信自检在微信通过通用Universal Links唤起app的步骤停止了

而且控制台的log swcd显示 确实在app首次启动时候没有正确加载配置文件


Error getting enterprise-managed associated domains data. If this device is not enterprise-managed, this is normal: Error Domain=SWCErrorDomain Code=1701 "Failed to get associated domain data from ManagedConfiguration framework." UserInfo={NSDebugDescription=Failed to get associated domain data from ManagedConfiguration framework., Line=250, Function=<private>


经过调查 最后发现 apple-app-site-association 配置的路径 苹果官方文档仅仅说明了要配置到根目录下的.well-known子目录下(应该是最新的文档移除了配置在Universal Links根目录的说明),更新路径以后问题解决。目前友盟和微信还没有更新相关的说明。

The details dictionary only applies to the applinks service type; other service types don’t use it. The components key is an array of dictionaries that provides pattern matching for components of the URL.

After you construct the association file, place it in your site’s .well-known directory. The file’s URL should match the following format:


希望以上信息可以帮助有需要的人。

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

友情链接更多精彩内容