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

查看:79
本文介绍了更改产品名称后的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天全站免登陆