简体   繁体   English

在OSx Yosemite中归档项目时出错

[英]Error in archiving Project in OSx Yosemite

I have recently upgraded my Mac to Yosemite . 我最近将Mac升级到了Yosemite After that I tried to archive one of my projects. 之后,我尝试存档我的一个项目。 The archive was successful right before the upgrade. 升级之前,存档成功。 But after I have upgraded when I tried to archive(using the same setting and profile, nothing changed), I am getting the following error: 但是在升级后,我尝试存档(使用相同的设置和配置文件,没有任何更改)后,出现以下错误:

Warning: --resource-rules has been deprecated in Mac OS X >= 10.10!
B42D4317C1A62AC9783161DC9FF31E76464470E8: no identity found
Command /usr/bin/codesign failed with exit code 1

I googled but didn't find anything helpful. 我用谷歌搜索,但没有发现任何帮助。 Can anyone tell me what I need to do to get this fixed? 谁能告诉我该如何解决? Xcode version 6.0. Xcode 6.0版。 I am using Distribution profile. 我正在使用分发配置文件。

Its a very common error for Yosemite now. 对于优胜美地来说,这是一个非常常见的错误。 the problem is that in Xcode 6, you can not create Archive using Developer Profile, you need to have distribution Profile to create Adhoc archive. 问题在于,在Xcode 6中,您无法使用Developer Profile创建存档,您需要具有分发Profile才能创建Adhoc存档。

You can refer this link 您可以参考此链接

If you already have Distribution Profile, just download it and double click on it, and then set the profiles in Xcode Code signing settings. 如果您已经具有分发配置文件,则只需下载并双击它,然后在Xcode Code签名设置中设置配置文件即可。 If you still face any problem do let me know please. 如果您仍然遇到任何问题,请告诉我。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM