通知服务扩展签名证书

Notification Service Extension Signing Certificate

我想将 iOS 应用上传到应用商店。为此,我为应用 select 编辑了分发证书 target.I 有 Notification Service Extension & Notification Content Extension 并且我设置了自动管理签名。

我遇到了这个错误 "Embedded binary is not signed with the same certificate as the parent app. Verify the embedded binary target's code sign settings match the parent app's."

如果我 select iOS 分发内容和服务时出现错误。

我可以做什么来分发我的应用程序?

我已通过自动签名解决了我的问题。我被选中了Automatically manage signing。 Apple 将为此管理签名证书。

Xcode12.4。您可以自动设置它。但我仍然得到错误。我在我的 App 目标中添加了内容和服务扩展。因此,出于调试目的,您需要在开发者帐户上注册一个新的 App ID(用于内容扩展和服务扩展),并且还需要创建两个单独的配置文件。在两个目标和 运行 应用程序中设置配置文件。在发布设置应用程序配置文件的版本时,您还需要为内容扩展和服务扩展设置配置文件,然后下一步按钮才会激活。