1

我想将 iOS 应用上传到应用商店。为此,我选择了应用程序目标的分发证书。我有Notification Service Extension&Notification Content Extension并且我已经设置了自动管理签名。

图 1

我得到了这个错误"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."

如果我为内容和服务选择 iOS 分发,则会出现错误。

错误的图像 2

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

4

2 回答 2

0

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

于 2019-10-24T05:26:30.363 回答
0

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

于 2021-03-15T07:32:09.047 回答