Xcode 9自动签名失败 [英] Xcode 9 automatic signing failing

查看:389
本文介绍了Xcode 9自动签名失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经成功上传了适用于TestFlight的应用程序,但是现在归档并上传后,它给了我这个我无法解释的错误。只是为了确保我取消选中功能目标选项卡中的所有权利,但这似乎无关紧要。

I had successfully uploaded an app for TestFlight but after archiving and uploading now it is giving me this error I can't explain. Just to make sure I unchecked all entitlements in the capabilities target tab but that doesn't seem to matter.

我查看了所有应用程序ID,证书和配置文件,但是没有什么看起来异常。我会查看Xcode生成的实际.plist文件,但看不到它的位置或是否存在。我什至应该在哪里检查情况呢? Xcode是一个烂摊子,所以我什至都不相信这不是一些随机的错误(我当然是为了确定才清理了目标)。

I looked over all the app id's, certificates and provisioning profiles but there's nothing that looks abnormal. I would look in the actual .plist file generated by Xcode but I don't see where it is or if it even exists. Where should I even check to verify what's going on? Xcode is a buggy mess so I don't even trust this isn't some random bug (I cleaned the target of course just to make sure).


自动签名无法解决 ...
目标的授权问题。切换到手动签名并通过从开发者
网站下载匹配的配置文件来解决问题
。或者,要继续使用自动签名,请从您的权利文件中删除这些权利
,并从代码中删除其相关的
功能。然后重建您的存档,然后重试。

Automatic signing is unable to resolve an issue with the "..." target's entitlements. Switch to manual signing and resolve the issue by downloading a matching provisioning profile from the developer website. Alternatively, to continue using automatic signing, remove these entitlements from your entitlements file and their associated functionality from your code. Then rebuild your archive and try again.

供应配置文件资格未通过配置文件与
权利文件的应用程序标识符权利值不匹配。

Provisioning profile failed qualification Profile doesn't match the entitlements file's value for the application-identifier entitlement.

推荐答案

我在一些旧项目上度过了一段糟糕的时光,因为我不得不使用手动签名无法获得自动配置。然后,我发现了以下对我100%有用的解决方案:

I had a terrible time with some old projects where I had to use manual signing because I couldn't get automatic provisioning to work. Then I discovered the following solution, which has worked for me 100%:


  1. 如果尚未使用,请切换到自动配置

  1. Switch to automatic provisioning if you haven't already.

编辑目标构建设置并搜索Sign。您应该看到四个Code Signing Identity条目,并且它们都应该显示iOS Developer。 (如果其中一个人说iOS发行版,那就是死亡之吻。)

Edit the target build settings and search for Sign. You should see four Code Signing Identity entries and they should all say iOS Developer. (If one of them says iOS Distribution, that's the kiss of death.)

仍在编辑目标构建设置,然后搜索Provision。向下滚动至底部,查看是否有明确的额外配置配置文件设置提供了配置文件编号。如果是这样,请将其删除。

Still editing the target build settings, search for Provision. Scroll down to the bottom and see if there is an explicit extra provisioning profile setting giving a profile number. If so, delete it.


  1. 编辑目标功能。开启Game Center,iCloud和应用内购买功能。现在再次关闭它们。这将为您提供一个空的权利文件(您可以在项目导航器中确认此文件)。

您现在可以构建为设备,存档并导出到App Store,并始终使用自动签名。

You will now be able to build to a device, archive, and export to the App Store, using automatic signing throughout.

这篇关于Xcode 9自动签名失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆