Xcode试图找到或生成匹配的签名资产,但未能这样做 [英] Xcode attempted to locate or generate matching signing assets and failed to do so

查看:122
本文介绍了Xcode试图找到或生成匹配的签名资产,但未能这样做的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以我试图在Mavericks上使用Xcode 6.0.1使用现有的配置文件(之前有效)创建一个临时版本,但在尝试导出此版本后,我不断收到以下错误:

So I'm trying to create an ad-hoc build using existing provisioning profile (that worked before) with Xcode 6.0.1 on Mavericks, but after trying to export this archive, I keep getting the following error:

我是否需要重新创建证书和配置文件,还是有更好的解决方案?谢谢!

Do I need to re-create my certificates and provisioning profiles, or is there a better solution? Thanks!

推荐答案

我也将此问题视为团队成员角色。 您不被允许执行此操作警告让我相信XCode更严格地执行此处定义的角色: https: //developer.apple.com/programs/roles/

I'm also facing this issue as a 'Team Member' role. The 'You are not allowed to perform this operation' warning leads me to believe that XCode is more strictly enforcing the roles defined here: https://developer.apple.com/programs/roles/

即使我有权访问签名资产(证书和配置文件),XCode赢了我允许我指定它们。尝试将您的角色升级为团队管理员。

Even though I have access to the signing assets (certificate and provisioning profile), XCode won't allow me to specify them. Try upgrading your role to Team Admin.

更新2014-09-29:
经过广泛研究后,我发现了它可以使用xcodebuild从命令行生成.ipa,甚至可以使用以下代码作为团队成员角色:

Updated 2014-09-29: After extensive research, I've found it is possible to generate the .ipa using xcodebuild from the command line even as a 'Team Member' role using the following:

xcodebuild -exportArchive -archivePath $projectname.xcarchive -exportPath $projectname -exportFormat ipa -exportProvisioningProfile "Provisioning Profile Name"

信用卡 1

注意:正如链接文章中所指出的,供应配置文件名称是证书名称字段中指定的名称(可从developer.apple.com查看) 。

Note: As pointed out in the linked article, the "Provisioning Profile Name" is the name specified in the name field of the certificate (viewable from developer.apple.com).

您可以通过将调用包含在项目构建脚本中来自动化xcode中的过程。

You can automate the process in xcode by including the call into your project build script.

这篇关于Xcode试图找到或生成匹配的签名资产,但未能这样做的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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