CodeSign Error after changing Product Name

前提是你 提交于 2019-12-04 05:15:49

问题


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:

Error : codesign failed with exit code 1

Any idea what the problem is here?


回答1:


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 (or *.plist) the field "executable file"

So make sure that these fields contain the same value.

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.



来源:https://stackoverflow.com/questions/7330371/codesign-error-after-changing-product-name

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!