配置文件中缺少 carplay-audio 权利
Apple 已为我们的应用程序启用了 CarPlay 功能,但当我下载配置文件时,我在其中找不到 com.apple.developer.carplay-audio
权利。
我所做的如下:
对于 Apple Developer Portal 上“其他功能”中的应用程序标识符,我启用了“CarPlay 音频应用程序(CarPlay 框架)”。
之后,我生成了一个配置文件并下载了它。在 Apple Developer Portal 上的临时配置文件信息中,我可以在“启用的功能”中看到“CarPlay Audio App(CarPlay 框架)”。
当我在 Xcode 中导入下载的配置文件时,我看不到 CarPlay 权利。将
com.apple.developer.carplay-audio
权利添加到我的 .entitlements 文件后,我收到“配置配置文件...不包括com.apple.developer.carplay-音频权利。”。当我在文本编辑器中打开配置文件时,我也找不到“carplay-audio”。
有人能帮我解决这个问题吗?
Apple has enabled the CarPlay capability for our app, but when I download my provisioning profile I can't find the com.apple.developer.carplay-audio
entitlement in it.
Here's what I did:
For our app identifier on Apple Developer Portal in "Additional Capabilities" I enabled "CarPlay Audio App (CarPlay framework)".
After that I generated a provisioning profile and downloaded it. In the provisional profile info on Apple Developer Portal I can see "CarPlay Audio App (CarPlay framework)" in "Enabled Capabilities".
When I import the downloaded profile in Xcode, I can't see the CarPlay entitlement there. After I added the
com.apple.developer.carplay-audio
entitlement to my .entitlements file, I'm getting the "Provisioning profile ... doesn't include the com.apple.developer.carplay-audio entitlement.". When I'm opening the profile in my text editor, I also can't find "carplay-audio" there.
Could anyone help me to solve this problem?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我认为我们也遇到了同样的问题,这实际上是 Apple 在developer.apple.com 上的错误。转到您的标识符并选中“CarPlay 音频应用程序(媒体播放器框架)”(不是 CarPlay)上的复选框,点击保存并重新创建配置文件。我记得联系过他们,他们告诉我这两个选项混淆了:D
I think we had the same issue and that's actually Apple's fault on developer.apple.com. Go to your identifier and check the box on the "CarPlay Audio App (Media Player framework)" (NOT the CarPlay), hit save and recreate the provisioning profile. I remember contacting them and they told me the two options are mixed up :D
@fruitcoder 的评论有效,这是一个可以接受的解决方案。 fwiw 一旦我启用了媒体播放器框架并确保它工作正常,我就返回并启用了 CarPlay 框架,从那以后它就没有抱怨了。我认为 Media Player 框架在技术上已被弃用,新框架(iOS 14+)是 CarPlay 框架。我认为即使您的应用不再支持 iOS 13,同时启用这两个功能也没什么坏处。
@fruitcoder's comment works and that's an acceptable solution. fwiw once i enabled Media Player framework and made sure that it worked, i went back and enabled the CarPlay framework and it hasn't complained since. I believe the Media Player framework is technically deprecated and the new framework (iOS 14+) is the CarPlay framework. I don't think it hurts to have both enabled even if your app doesn't support iOS 13 anymore.
在“附加功能”中,只有“com.apple.developer.carplay-driven-task”选项。我希望在 Runner.entitlements 中重命名它可以解决这个问题。谢谢
In the Additional Capabilities, there is only option" com.apple.developer.carplay-driving-task". I hope renaming this in Runner.entitlements would resolve this issue. Thanks