【问题标题】:Apple Universal Links on private web server私人网络服务器上的 Apple 通用链接
【发布时间】:2020-04-23 14:22:49
【问题描述】:

我正在尝试获取通用链接以与我的 Xamarin iOS 应用程序和专用 Web 服务器一起使用。 我正在使用 Ad Hoc 配置文件和 https://www.diawi.com/ 安装该应用程序,它除了通用链接外都可以工作。

我已将链接放在 Word 文档中。

但是,在 IIS 日志中,当我安装应用程序时,没有请求 apple-app-site-association 文件。

此外,通过 sysdiagnose 收集的文件 swcutil_show.txt 不包含我的应用程序的条目。

日志文件包含以下内容:

swcd[239] <Error>: 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>}

但是,即使我在 Entitlements.plist 中关闭关联域,此条目仍然存在。

当然,链接会在 Safari 而不是我的应用中打开。

问题:

  1. 通用链接和关联域在 Web 服务器时是否有效 不公开?
  2. 我的设备在 MDM 下是否存在问题?

  3. 我可以使用 diawi.com 进行安装并且仍然期望通用吗 工作链接?

【问题讨论】:

    标签: ios ios-universal-links


    【解决方案1】:

    所有问题的答案都是肯定的。

    它不起作用的原因是缺少设置,其中未在属性中选择 Entitlements.plist。

    【讨论】:

      猜你喜欢
      • 2015-08-20
      • 2014-11-28
      • 2013-08-29
      • 1970-01-01
      • 2013-11-18
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-09-20
      相关资源
      最近更新 更多