/usr/bin/codedesign 失败,退出代码为 1 [英] /usr/bin/codesign failed with exit code 1

查看:37
本文介绍了/usr/bin/codedesign 失败,退出代码为 1的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试部署我的第一个开发 iPhone 应用程序,但遇到了一些问题.我已经成功通过在线 Provisioning Assistant,但现在我被卡住了.无论我做什么,我总是收到以下错误.

I am attempting to deploy my first development iPhone app, and am running into some problems. I have successfully went though the online Provisioning Assistant, but now I am stuck. No matter what I do, I always get the following error.

/usr/bin/codesign 失败,退出代码为 1

/usr/bin/codesign failed with exit code 1

有人知道为什么会这样吗?

Anyone have any ideas why this is happening?

推荐答案

更新:
我的原始答案中的技术说明现已弃用.Apple 在新文档中发布了一系列代码签名问题(以及一些解决方案):技术说明 TN2407代码签名故障排除索引

检查构建设置中的 CODE_SIGN_IDENTITY 属性.是否在那里选择了您的配置文件?
您还需要在您的应用 .plist 中输入一个有效的包标识符.
标识符必须与您在生成配置文件时提供的标识符相匹配.
Apple 在此处有关于此的技术说明.

Check the CODE_SIGN_IDENTITY property in your build settings. Is your provisioning profile selected there?
You also need to enter a valid bundle identifier in your apps .plist.
The identifier has to match the one you provided when generating the profile.
Apple has a technote about that here.

这篇关于/usr/bin/codedesign 失败,退出代码为 1的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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