Xcode Today 扩展卡在“无法继承 CoreMedia 权限”错误上

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/27343681/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 06:20:05  来源:igfitidea点击:

Xcode Today Extension stuck on "Failed to inherit CoreMedia permissions" error

iosobjective-cxcodetoday-extension

提问by dreampowder

i'am trying to add an app extension to my project (Today Extension).

我正在尝试向我的项目(今日扩展)添加一个应用扩展。

Things that i've made so far:

到目前为止我所做的事情:

  1. Enable "App Groups" from both main application and extension capabilities.
  2. Checked that both targets "Team" profiles are valid. (even deleted them from provisioning portal and let xcode to receated them)
  3. Checked from provisioning portal that both app id's have correct groups selected.
  4. Deleted everything from provisioning portal, and receated everthing through xcode.
  1. 从主应用程序和扩展功能启用“应用程序组”。
  2. 检查两个目标“团队”配置文件是否有效。(甚至从配置门户中删除它们并让 xcode 重新获取它们)
  3. 从配置门户检查两个应用程序 ID 都选择了正确的组。
  4. 从配置门户中删除了所有内容,并通过 xcode 重新获取了所有内容。

Everything looks ok, both targets have "app groups" enabled and selected same app group id's, and no error visible.

一切看起来都不错,两个目标都启用了“应用程序组”并选择了相同的应用程序组 ID,并且没有可见错误。

btw. I 've tried both on normal and beta (6.2) versions of xcode. Still no luck..

顺便提一句。我已经尝试过 xcode 的普通和 beta (6.2) 版本。还是没有运气..

回答by dasdom

I get the same error but still my share extension works (and was approved by Apple). So maybe the error is somewhere else.

我遇到了同样的错误,但我的共享扩展仍然有效(并且得到了 Apple 的批准)。所以也许错误在其他地方。