ios 没有可用于签署 Xcode 5 的身份

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/18746703/
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-08-31 01:05:55  来源:igfitidea点击:

No identities are available for signing Xcode 5

ioscode-signingxcode5validating

提问by Oleksii Moiseenko

I have an error "No identities are available for signing" when try to validate my app in Xcode 5. I tried all: Recreate certificates and provisioning profiles, all methods which have been described on this site and another resources; I'm confused, because when I try to distribute my app as Ad-hoc, it successfully create and install on test device an IPA file. But when I try validate my app or submit to AppStore, all the time I have an error. Maybe someone can help me with this issue.

尝试在 Xcode 5 中验证我的应用程序时,出现错误“无身份可用于签名”。我尝试了所有方法:重新创建证书和配置文件、本网站上描述的所有方法以及其他资源;我很困惑,因为当我尝试将我的应用程序作为 Ad-hoc 分发时,它成功地在测试设备上创建并安装了一个 IPA 文件。但是当我尝试验证我的应用程序或提交到 AppStore 时,我总是有错误。也许有人可以帮助我解决这个问题。

回答by Mavis

All you need to do is:

您需要做的就是:

  1. go to Certificates, Identifiers & Profiles in the Developer Center

  2. create a new provisioning profile in "Provisioning Profiles" / "Distribution"

  3. download the profile and open it

  4. restart Xcode

  1. 转到开发人员中心的证书、标识符和配置文件

  2. 在“配置文件”/“分发”中创建一个新的配置文件

  3. 下载配置文件并打开它

  4. 重启Xcode

回答by Oleksii Moiseenko

Please make sure you are using distribution provisioning profiles, rather than Development. And the code sign setting in Xcode is compatible with the distribution provisioning profiles.

请确保您使用的是分发配置文件,而不是开发。并且 Xcode 中的代码签名设置与分发配置文件兼容。

enter image description here

在此处输入图片说明

回答by Absov

The validation process does not work with Ad-hoc profiles. Need to create a Distribution provisioning profile. It is not specified in the instructions for beta testing. I agonized all day until realized.

验证过程不适用于 Ad-hoc 配置文件。需要创建分发配置文件。Beta 测试的说明中没有指定它。我痛苦了一整天,直到意识到。

回答by Matt

Use the Application Loader (Xcode -> Open Developer Tool -> Application Loader).

使用应用程序加载器(Xcode -> Open Developer Tool -> Application Loader)。

Also - this answer/question may also be helpful for you: https://stackoverflow.com/a/18914073/730172

另外 - 这个答案/问题也可能对你有帮助:https: //stackoverflow.com/a/18914073/730172

回答by helmesjo

Restarting Xcode solved the problem for me! Restart and/or clean solves 99% of all issues...

重新启动Xcode为我解决了这个问题!重新启动和/或清理解决了所有问题的 99%...

回答by mbuc91

@CainaSouza 's comment above worked for me. I didn't even have to create any new provisioning profiles.

@CainaSouza 上面的评论对我有用。我什至不必创建任何新的配置文件。

I just had to go to Xcode > Preferences > Accounts > (Apple ID) > View Details and hit the refresh button. After a minute or two it was done and had loaded my provisioning profiles. I didn't even have to select it in my project options, it had already selected my most recently generated one.

我只需要去 Xcode > Preferences > Accounts > (Apple ID) > View Details 然后点击刷新按钮。一两分钟后,它完成并加载了我的配置文件。我什至不必在我的项目选项中选择它,它已经选择了我最近生成的一个。

回答by Tun Beo

Clean your Product Build Folder (with Alt button) Restart Xcode

清理您的产品构建文件夹(使用 Alt 按钮)重新启动 Xcode

It solved my same issue

它解决了我同样的问题

回答by Enrique Bernal

I updated to Maverick and Xcode 5 and had the same issue even though I had everything ok in Profiles. I created a new Distribution profile (identical to the old one), added it by refreshing profiles and the issue was solved without rebuilding.

我更新到 Maverick 和 Xcode 5 并且遇到了同样的问题,即使我在 Profiles 中一切正常。我创建了一个新的分发配置文件(与旧的相同),通过刷新配置文件添加它,问题解决了,无需重建。

回答by RH_Apps

I had a similar issue. Found out that the bundle identifier did not match the app id that was on itunes connect - it was capitalized differently. Fixed the issue by making the identifiers match.

我有一个类似的问题。发现捆绑标识符与 itunes connect 上的应用程序 ID 不匹配 - 它的大写不同。通过使标识符匹配来解决此问题。

回答by Chris Lambrou

Yes the appID and bundle identifier must match. Remember it is CASE-SENSITIVE. That was the problem for me.

是的,appID 和包标识符必须匹配。请记住,它是区分大小写的。这就是我的问题。