简体   繁体   English

iOS:项目属性“产品名称”的目的是什么?

[英]IOS: What is the purpose of the project attribute “product name”?

I ran into a problem where the solution seems to be to rename the "product name" property of my project. 遇到了一个问题 ,解决方案似乎是重命名项目的“产品名称”属性。

I have tried to find an official description of this property, but I failed. 我试图找到此属性的正式描述,但失败了。 What I did find was some Apple documentation that described it as "user facing". 确实找到了一些Apple文档,将其描述为“面向用户”。 It's hard to accept that a user facing property doesn't reliably allow for anything but ASCII, so I have to ask: what is the purpose of "product name"? 很难接受面向用户的属性不能可靠地允许使用除ASCII以外的任何内容,因此我不得不问: “产品名称”的目的是什么? (other than an intermediary to derive other properties from) (除了从中派生其他属性的中介人)

Update: Also, if possible, would be interested in some sort of documentation. 更新:另外,如果可能的话,将对某种文档感兴趣。 I've googled site:apple.com ios PRODUCT_NAME without much success. 我已经在site:apple.com ios PRODUCT_NAME进行了搜索,但没有成功。

Found a reference that (kind of) describes the property and what depends on it: 找到(种类)描述该属性及其依赖项的参考

PRODUCT_NAME 产品名称
Description: Identifier. 说明:标识符。 Specifies the name of the product the target builds. 指定目标构建的产品的名称。
Default value: The name of the target at the time it was created. 缺省值:目标创建时的名称。
Example value: MyProduct 值示例: MyProduct
Affects: EXECUTABLE_NAME, WRAPPER_NAME. 影响: EXECUTABLE_NAME,WRAPPER_NAME。

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

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