【问题标题】:"Runner" contains entitlements that aren't in the entitlements file“Runner”包含不在权利文件中的权利
【发布时间】:2021-09-13 16:36:28
【问题描述】:

我的项目可以毫无问题地为 iOS 构建。但在 codemagic 上,我收到以下消息:

“Runner”的配置配置文件“我的配置文件信息”包含权利文件中没有的权利:com.apple.developer.coremedia.hls.low-latency 和 com.apple.developer.healthkit.background-delivery .要使用这些权利,请将它们添加到您的权利文件中。否则,请从您的配置文件中删除未使用的权利。 (在项目“Runner”的目标“Runner”中)

我从不使用 healthkit 中的任何东西,也不知道其他权利。如何删除这些以及从哪里删除?

【问题讨论】:

    标签: flutter codemagic


    【解决方案1】:

    听起来您的配置文件启用了某些权利,但这些权利并未真正使用。

    要查看您启用了哪些权利,请转到您的开发者帐户并在“配置文件”下查看您列出了哪些功能。或者直接转到 Xcode 中 Target 下的 Capabilties。

    根据项目/Runner 中的 Runner.entitlements 文件检查它

    删除您不使用的功能。

    在此处阅读更多信息:https://developer.apple.com/documentation/bundleresources/entitlements/diagnosing_issues_with_entitlements

    【讨论】:

      猜你喜欢
      • 2021-04-19
      • 1970-01-01
      • 2021-04-19
      • 1970-01-01
      • 2017-03-15
      • 1970-01-01
      • 1970-01-01
      • 2020-02-27
      • 2017-06-11
      相关资源
      最近更新 更多