更改产品名称后出现 CodeSign 错误 [英] CodeSign Error after changing Product Name

查看:26
本文介绍了更改产品名称后出现 CodeSign 错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近遇到了一个棘手的问题,App Store 拒绝了我的应用程序,说应用程序名称和产品名称不同.我按照他们告诉的步骤更改了产品名称.但是当我重新构建应用程序时,它给了我一个代码签名错误:

I recently come across a hectic problem when App Store rejected my application saying that the App Name and the Product Name are not same. I followed the steps told by them to change the product name. But when I rebuilt the app, it gives me a codesigning error:

错误:协同设计失败,退出代码为 1

Error : codesign failed with exit code 1

知道这里有什么问题吗?

Any idea what the problem is here?

推荐答案

问题是在以下配置字段中输入了不同的名称:

The problem was that there where different names entered in the following configuration fields:

  • 项目 -> 编辑活动目标 -> 属性选项卡 -> 字段可执行"

  • Project -> Edit Active Target -> Properties Tab -> Field "Executable"

项目 -> 编辑活动目标 -> 构建选项卡 -> 字段产品名称"

Project -> Edit Active Target -> Build Tab -> Field "Product Name"

info.plist(或*.plist)字段可执行文件"

info.plist (or *.plist) the field "executable file"

因此请确保这些字段包含相同的值.

So make sure that these fields contain the same value.

问题的根源是我在.plist文件中重命名了可执行文件导致xcode项目的初始名称不是最终产品的名称.

The root of the problem that I renamed the executable file in the .plist file cause the initial name of the xcode project was not the name of the final product.

这篇关于更改产品名称后出现 CodeSign 错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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