【问题标题】:How do I add this entitlement in Xcode/Swift com.apple.developer.healthkit.background-delivery?如何在 Xcode/Swift com.apple.developer.healthkit.background-delivery 中添加此权利?
【发布时间】:2021-07-07 21:01:45
【问题描述】:

目前我拥有 HealthKit 和对 HealthKit 记录的访问权限。

如何将 com.apple.developer.healthkit.background-delivery 添加到 swift/Xcode 中的权利中?image of current entitlement

HealthKit 的功能也已开启healthkit capability

供应配置文件“iOS 团队供应配置文件:blah for blah 包含权利文件中没有的权利:com.apple.developer.healthkit.background-delivery。要使用这些权利,请将它们添加到您的权利文件中。否则,从您的配置文件中删除未使用的权利。

【问题讨论】:

    标签: swift healthkit


    【解决方案1】:

    有同样的警告。 将新密钥 com.apple.developer.healthkit.background-delivery 添加到您的权利文件中,使用布尔类型并将其设置为 1。

    苹果来源:com.apple.developer.healthkit.background-delivery

    为我解决了这个问题。 Screenshot

    【讨论】:

      猜你喜欢
      • 2015-07-26
      • 2017-03-15
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2022-06-17
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多